Skip to content
Snippets Groups Projects
Verified Commit b94c725d authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Make CaloTopoTmpHashCell trivially copyable

parent 06c33662
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!35631Various class trait tweaks
......@@ -40,10 +40,7 @@ public:
}
CaloTopoTmpHashCell(const CaloTopoTmpHashCell &other)
{
m_clusterCell = other.m_clusterCell;
}
CaloTopoTmpHashCell(const CaloTopoTmpHashCell &other) = default;
CaloTopoTmpHashCell(T* clusterCell)
......@@ -58,13 +55,7 @@ public:
return (m_clusterCell == other.m_clusterCell);
}
CaloTopoTmpHashCell & operator=(const CaloTopoTmpHashCell & other)
{
if ( this != &other ) {
m_clusterCell = other.m_clusterCell;
}
return *this;
}
CaloTopoTmpHashCell & operator=(const CaloTopoTmpHashCell & other) = default;
T * getCaloTopoTmpClusterCell() const
{
......
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