Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
Root
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
为了安全,强烈建议开启2FA双因子认证:User Settings -> Account -> Enable two-factor authentication!!!
Show more breadcrumbs
cxwx
Root
Commits
04478e89
Commit
04478e89
authored
8 years ago
by
Vassil Vassilev
Browse files
Options
Downloads
Patches
Plain Diff
Do not require the user to cast pointers to Long_t.
parent
1c907599
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
core/base/inc/TVirtualQConnection.h
+1
-1
1 addition, 1 deletion
core/base/inc/TVirtualQConnection.h
gui/gui/inc/TGShutter.h
+1
-1
1 addition, 1 deletion
gui/gui/inc/TGShutter.h
with
2 additions
and
2 deletions
core/base/inc/TVirtualQConnection.h
+
1
−
1
View file @
04478e89
...
@@ -28,7 +28,7 @@ protected:
...
@@ -28,7 +28,7 @@ protected:
virtual
void
SetArg
(
const
char
*
)
=
0
;
virtual
void
SetArg
(
const
char
*
)
=
0
;
// We should 'widen' all types to one of the SetArg overloads.
// We should 'widen' all types to one of the SetArg overloads.
template
<
class
T
,
class
=
typename
std
::
enable_if
<
std
::
is_
integral
<
T
>
::
value
>::
type
>
template
<
class
T
,
class
=
typename
std
::
enable_if
<
std
::
is_
scalar
<
T
>
::
value
>::
type
>
void
SetArg
(
const
T
&
val
)
void
SetArg
(
const
T
&
val
)
{
{
if
(
std
::
is_signed
<
T
>::
value
)
if
(
std
::
is_signed
<
T
>::
value
)
...
...
This diff is collapsed.
Click to expand it.
gui/gui/inc/TGShutter.h
+
1
−
1
View file @
04478e89
...
@@ -113,7 +113,7 @@ public:
...
@@ -113,7 +113,7 @@ public:
virtual
void
SavePrimitive
(
std
::
ostream
&
out
,
Option_t
*
option
=
""
);
virtual
void
SavePrimitive
(
std
::
ostream
&
out
,
Option_t
*
option
=
""
);
virtual
Bool_t
ProcessMessage
(
Long_t
cmd
,
Long_t
parm1
,
Long_t
parm2
);
virtual
Bool_t
ProcessMessage
(
Long_t
cmd
,
Long_t
parm1
,
Long_t
parm2
);
virtual
void
Selected
(
TGShutterItem
*
item
)
{
Emit
(
" Selected(TGShutterItem*)"
,
(
Long_t
)
item
);
}
//*SIGNAL*
virtual
void
Selected
(
TGShutterItem
*
item
)
{
Emit
(
" Selected(TGShutterItem*)"
,
item
);
}
//*SIGNAL*
ClassDef
(
TGShutter
,
0
)
// Shutter widget
ClassDef
(
TGShutter
,
0
)
// Shutter widget
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment