Skip to content
Snippets Groups Projects
Commit aba53d60 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

HitManagement: Fix compilation with gcc11.

Don't use full template-id for ctor/dtor names.
parent 8246251f
No related branches found
No related tags found
No related merge requests found
......@@ -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++)
......
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment