Skip to content
Snippets Groups Projects
Commit 44dfbcee authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'master-InDetGeoModelUtils' into 'master'

Add const to static GeoTrf::Transform3D TopLevelPlacements::s_identityTransform

See merge request atlas/athena!34328
parents ae6f004f 4bad4801
No related branches found
No related tags found
No related merge requests found
/* /*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
#ifndef INDETGEOMODELUTILS_TOPLEVELPLACEMENTS_H #ifndef INDETGEOMODELUTILS_TOPLEVELPLACEMENTS_H
...@@ -41,7 +41,7 @@ private: ...@@ -41,7 +41,7 @@ private:
std::map<std::string, Part *> m_parts; std::map<std::string, Part *> m_parts;
bool m_noTopLevelTable; bool m_noTopLevelTable;
static GeoTrf::Transform3D s_identityTransform; static const GeoTrf::Transform3D s_identityTransform;
}; };
#endif // INDETGEOMODELUTILS_TOPLEVELPLACEMENTS_H #endif // INDETGEOMODELUTILS_TOPLEVELPLACEMENTS_H
/* /*
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
*/ */
#include "InDetGeoModelUtils/TopLevelPlacements.h" #include "InDetGeoModelUtils/TopLevelPlacements.h"
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
#include "RDBAccessSvc/IRDBRecord.h" #include "RDBAccessSvc/IRDBRecord.h"
#include <iostream> #include <iostream>
GeoTrf::Transform3D TopLevelPlacements::s_identityTransform = GeoTrf::Transform3D::Identity(); const GeoTrf::Transform3D TopLevelPlacements::s_identityTransform = GeoTrf::Transform3D::Identity();
TopLevelPlacements::TopLevelPlacements(IRDBRecordset_ptr topLevelTable) TopLevelPlacements::TopLevelPlacements(IRDBRecordset_ptr topLevelTable)
: m_noTopLevelTable(true) { : m_noTopLevelTable(true) {
......
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