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 3850eaae3c6596043fac79a7b7820c5ea0bff6e7..7c1fc73b00c543c88a3262f46a707593ed01e9f8 100644 --- a/Control/PerformanceMonitoring/PerfMonEvent/src/PyStore.cxx +++ b/Control/PerformanceMonitoring/PerfMonEvent/src/PyStore.cxx @@ -64,7 +64,7 @@ Store::~Store() // const methods: /////////////////////////////////////////////////////////////////// -std::string Store::repr() const +std::string Store::repr() { return Py::repr( m_store ); }