diff --git a/DDCore/include/DD4hep/IOV.h b/DDCore/include/DD4hep/IOV.h index 0edbc037e08e70d62c29117a3a8570c171823bbb..e45f6303fc36586c1e65a9ba95d41f29abb9a27b 100644 --- a/DDCore/include/DD4hep/IOV.h +++ b/DDCore/include/DD4hep/IOV.h @@ -60,8 +60,6 @@ namespace DD4hep { private: /// Initializing constructor: Does not set reference to IOVType ! explicit IOV() = delete; - /// Inhibit assignment - IOV& operator=(const IOV& c) = default; public: /// Key definition typedef long Key_first_type; @@ -82,6 +80,8 @@ namespace DD4hep { IOV(const IOV& copy) = default; /// Standard Destructor ~IOV() = default; + /// Assignment operator + IOV& operator=(const IOV& c) = default; /// Move the data content: 'from' will be reset to NULL void move(IOV& from); /// Create string representation of the IOV