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
Peter Sherwood
athena
Commits
aba53d60
Commit
aba53d60
authored
4 years ago
by
scott snyder
Committed by
scott snyder
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
HitManagement: Fix compilation with gcc11.
Don't use full template-id for ctor/dtor names.
parent
8246251f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Simulation/HitManagement/HitManagement/AthenaHitsVector.h
+3
-3
3 additions, 3 deletions
Simulation/HitManagement/HitManagement/AthenaHitsVector.h
Simulation/HitManagement/HitManagement/AtlasHitsVector.h
+3
-3
3 additions, 3 deletions
Simulation/HitManagement/HitManagement/AtlasHitsVector.h
with
6 additions
and
6 deletions
Simulation/HitManagement/HitManagement/AthenaHitsVector.h
+
3
−
3
View file @
aba53d60
...
...
@@ -47,11 +47,11 @@ public:
//
// default constructor for rootcint
#ifdef __CINT__
AthenaHitsVector
<
T
>
(
)
{}
AthenaHitsVector
(
)
{}
//
// methods not provided to rootcint
#else
AthenaHitsVector
<
T
>
(
const
std
::
string
&
collectionName
=
"DefaultCollectionName"
)
AthenaHitsVector
(
const
std
::
string
&
collectionName
=
"DefaultCollectionName"
)
{
IMessageSvc
*
msgSvc
(
Athena
::
getMessageSvc
());
MsgStream
log
(
msgSvc
,
"AthenaHitsVector"
);
...
...
@@ -59,7 +59,7 @@ public:
m_name
=
collectionName
;
}
~
AthenaHitsVector
<
T
>
()
{
Clear
();}
~
AthenaHitsVector
()
{
Clear
();}
void
Clear
()
{
for
(
unsigned
int
i
=
0
;
i
<
m_hitvector
.
size
();
i
++
)
...
...
This diff is collapsed.
Click to expand it.
Simulation/HitManagement/HitManagement/AtlasHitsVector.h
+
3
−
3
View file @
aba53d60
...
...
@@ -48,11 +48,11 @@ public:
//
// default constructor for rootcint
#ifdef __CINT__
AtlasHitsVector
<
T
>
(
)
{}
AtlasHitsVector
(
)
{}
//
// methods not provided to rootcint
#else
AtlasHitsVector
<
T
>
(
std
::
string
collectionName
=
"DefaultCollectionName"
,
const
unsigned
int
mySize
=
100
)
AtlasHitsVector
(
std
::
string
collectionName
=
"DefaultCollectionName"
,
const
unsigned
int
mySize
=
100
)
{
IMessageSvc
*
msgSvc
(
Athena
::
getMessageSvc
());
MsgStream
log
(
msgSvc
,
"AtlasHitsVector"
);
...
...
@@ -62,7 +62,7 @@ public:
m_hitvector
.
reserve
(
mySize
);
}
~
AtlasHitsVector
<
T
>
()
{
~
AtlasHitsVector
()
{
std
::
vector
<
T
>
().
swap
(
m_hitvector
);
}
void
Clear
()
...
...
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