diff --git a/Control/CxxUtils/CxxUtils/SealSharedLib.h b/Control/CxxUtils/CxxUtils/SealSharedLib.h index 1daae0bf47b6fcc521a7d9a768725602e6644148..4d298e8de47252eb407e9526b605222a62b1e9e4 100644 --- a/Control/CxxUtils/CxxUtils/SealSharedLib.h +++ b/Control/CxxUtils/CxxUtils/SealSharedLib.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ /** @@ -57,7 +57,7 @@ public: bool operator== (const Callback1 &x) const; /**/ operator bool (void) const; - void operator() (T1) const; + void operator() (T1); private: Callback1Rep<T1> *m_rep; @@ -128,7 +128,7 @@ Callback1<T1>::operator bool (void) const template <class T1> inline void -Callback1<T1>::operator() (T1 a) const +Callback1<T1>::operator() (T1 a) { m_rep->call (a); } template <class T1, class T2> @@ -181,7 +181,7 @@ public: static SharedLibrary * self (void); static SharedLibrary * load (const std::string &name); - static void loaded (const InfoHandler &handler); + static void loaded (InfoHandler &handler); void release (void); void abandon (void); diff --git a/Control/CxxUtils/Root/SealSharedLib.cxx b/Control/CxxUtils/Root/SealSharedLib.cxx index 29221d416cec968235e5e43ea7eb702dbdae6274..da79127368fe4778ae5e15d1db28fb9ca35bb925 100644 --- a/Control/CxxUtils/Root/SealSharedLib.cxx +++ b/Control/CxxUtils/Root/SealSharedLib.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration */ /** @@ -287,7 +287,7 @@ SharedLibrary::load (const std::string &name) /** Iterate and provide information about all currently loaded shared libraries. */ void -SharedLibrary::loaded (const InfoHandler &handler) +SharedLibrary::loaded (InfoHandler &handler) { // Dynamic linker characteristics: // AIX, Windows, SVR4 (DG/UX, DRS/NX, DYNIX/ptx, Linux, SINIX,