Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
athena
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julian Blumenthal
athena
Commits
bb970e21
Commit
bb970e21
authored
4 years ago
by
scott snyder
Browse files
Options
Downloads
Patches
Plain Diff
InDetOverlay: Fix clang warnings.
Missing override keywords.
parent
20e9b098
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
InnerDetector/InDetRawAlgs/InDetOverlay/test/TRTOverlay_test.cxx
+14
-14
14 additions, 14 deletions
...tector/InDetRawAlgs/InDetOverlay/test/TRTOverlay_test.cxx
with
14 additions
and
14 deletions
InnerDetector/InDetRawAlgs/InDetOverlay/test/TRTOverlay_test.cxx
+
14
−
14
View file @
bb970e21
...
...
@@ -73,11 +73,11 @@ namespace OverlayTesting {
// dummy methods implementing in pure virtual interface methods (to make class non-abstract)
/** Return the local occupancy for the sectors crossed by a given track */
virtual
float
LocalOccupancy
(
const
Trk
::
Track
&
)
const
{
return
1.0
;
};
// not used - dummy implementation
virtual
float
LocalOccupancy
(
const
double
,
const
double
)
const
{
return
1.0
;
};
// not used - dummy implementation
virtual
float
LocalOccupancy
(
const
Trk
::
Track
&
)
const
override
{
return
1.0
;
};
// not used - dummy implementation
virtual
float
LocalOccupancy
(
const
double
,
const
double
)
const
override
{
return
1.0
;
};
// not used - dummy implementation
/** Return the global occupancy of the event*/
virtual
std
::
vector
<
float
>
GlobalOccupancy
(
)
const
{
std
::
vector
<
float
>
dummyVect
{};
return
dummyVect
;
};
// not used - dummy implementation
virtual
std
::
vector
<
float
>
GlobalOccupancy
(
)
const
override
{
std
::
vector
<
float
>
dummyVect
{};
return
dummyVect
;
};
// not used - dummy implementation
};
DECLARE_COMPONENT
(
MockTRT_LocalOccupancy
)
...
...
@@ -102,18 +102,18 @@ namespace OverlayTesting {
return
StatusCode
::
SUCCESS
;
};
virtual
int
getStatus
(
const
Identifier
)
const
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatusPermanent
(
const
Identifier
)
const
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatus
(
const
Identifier
)
const
override
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatusPermanent
(
const
Identifier
)
const
override
{
return
1
;
};
// not used - dummy implementation
MOCK_CONST_METHOD1
(
getStatusHT
,
int
(
const
Identifier
));
// This is the only method that we actually need! <--------------
virtual
bool
get_status
(
const
Identifier
)
const
{
return
false
;
};
// not used - dummy implementation
virtual
bool
get_statusHT
(
const
Identifier
)
const
{
return
false
;
};
// not used - dummy implementation
virtual
const
StrawStatusContainer
*
getStrawStatusHTContainer
()
const
{
return
nullptr
;};
// not used - dummy implementation
virtual
int
getStatus
(
const
Identifier
,
const
EventContext
&
)
const
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatusPermanent
(
const
Identifier
,
const
EventContext
&
)
const
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatusHT
(
const
Identifier
,
const
EventContext
&
)
const
{
return
1
;
};
// not used - dummy implementation
virtual
bool
get_status
(
const
Identifier
,
const
EventContext
&
)
const
{
return
false
;
};
// not used - dummy implementation
virtual
bool
get_statusHT
(
const
Identifier
,
const
EventContext
&
)
const
{
return
false
;
};
// not used - dummy implementation
virtual
bool
get_status
(
const
Identifier
)
const
override
{
return
false
;
};
// not used - dummy implementation
virtual
bool
get_statusHT
(
const
Identifier
)
const
override
{
return
false
;
};
// not used - dummy implementation
virtual
const
StrawStatusContainer
*
getStrawStatusHTContainer
()
const
override
{
return
nullptr
;};
// not used - dummy implementation
virtual
int
getStatus
(
const
Identifier
,
const
EventContext
&
)
const
override
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatusPermanent
(
const
Identifier
,
const
EventContext
&
)
const
override
{
return
1
;
};
// not used - dummy implementation
virtual
int
getStatusHT
(
const
Identifier
,
const
EventContext
&
)
const
override
{
return
1
;
};
// not used - dummy implementation
virtual
bool
get_status
(
const
Identifier
,
const
EventContext
&
)
const
override
{
return
false
;
};
// not used - dummy implementation
virtual
bool
get_statusHT
(
const
Identifier
,
const
EventContext
&
)
const
override
{
return
false
;
};
// not used - dummy implementation
};
...
...
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