Skip to content
Snippets Groups Projects
Commit 414141c3 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

make Identifier32 trivially copyable

parent 0f54bf66
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,!35622Class adjustments: ElementLinkVector Identifier32 SpacePoint
......@@ -44,10 +44,10 @@ public:
explicit Identifier32 (value_type value);
/// Copy constructor
Identifier32 (const Identifier32& other);
Identifier32 (const Identifier32& other) = default;
/// Assignment.
Identifier32& operator= (const Identifier32& other);
Identifier32& operator= (const Identifier32& other) = default;
///----------------------------------------------------------------
/// Modifications
......@@ -130,18 +130,6 @@ inline Identifier32::Identifier32 ()
: m_id(max_value)
{}
//-----------------------------------------------
inline Identifier32::Identifier32 (const Identifier32& other)
: m_id(other.m_id)
{}
//-----------------------------------------------
inline Identifier32& Identifier32::operator= (const Identifier32& other)
{
if (this != &other)
m_id = other.m_id;
return *this;
}
//-----------------------------------------------
inline Identifier32::Identifier32 (value_type value)
......
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