diff --git a/Control/PerformanceMonitoring/PerfMonEvent/PerfMonEvent/PyStore.h b/Control/PerformanceMonitoring/PerfMonEvent/PerfMonEvent/PyStore.h index 3dc490588901413dd6bcfe10ff2b2420c0c1c441..72a7deb0db2a6bc438d552cc786d91ddda54a519 100644 --- a/Control/PerformanceMonitoring/PerfMonEvent/PerfMonEvent/PyStore.h +++ b/Control/PerformanceMonitoring/PerfMonEvent/PerfMonEvent/PyStore.h @@ -1,7 +1,7 @@ ///////////////////////// -*- C++ -*- ///////////////////////////// /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration */ // Py::Store.h @@ -61,7 +61,7 @@ class Store std::size_t bufferSize() const { return m_bufSize; } /// python representation - std::string repr() const; + std::string repr(); /////////////////////////////////////////////////////////////////// // Non-const methods: diff --git a/Control/PerformanceMonitoring/PerfMonEvent/src/PyStore.cxx b/Control/PerformanceMonitoring/PerfMonEvent/src/PyStore.cxx index d70ff67bc9ff69f4b0d5dc6ffefea8acd4f65ecd..315a47de4c0e7b42d7c3e94335c08887dae6cdce 100644 --- a/Control/PerformanceMonitoring/PerfMonEvent/src/PyStore.cxx +++ b/Control/PerformanceMonitoring/PerfMonEvent/src/PyStore.cxx @@ -80,7 +80,7 @@ Store::~Store() // const methods: /////////////////////////////////////////////////////////////////// -std::string Store::repr() const +std::string Store::repr() { return Py::repr( m_store ); }