Mercurial > hg > orthanc
changeset 6229:a85ff09d94a0
it is incorrect to use an anonymous namespace for class members
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 08 Jul 2025 07:44:09 +0200 |
parents | c3fb276f8eba |
children | b8660d8ff4e7 |
files | OrthancFramework/Sources/MetricsRegistry.cpp |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/MetricsRegistry.cpp Mon Jul 07 19:34:45 2025 +0200 +++ b/OrthancFramework/Sources/MetricsRegistry.cpp Tue Jul 08 07:44:09 2025 +0200 @@ -38,7 +38,7 @@ return boost::posix_time::microsec_clock::universal_time(); } - namespace + namespace MetricsRegistryInternals { template <typename T> class TimestampedValue : public boost::noncopyable @@ -270,7 +270,7 @@ class MetricsRegistry::FloatItem : public Item { private: - TimestampedValue<float> value_; + MetricsRegistryInternals::TimestampedValue<float> value_; public: explicit FloatItem(MetricsUpdatePolicy policy) : @@ -328,7 +328,7 @@ class MetricsRegistry::IntegerItem : public Item { private: - TimestampedValue<int64_t> value_; + MetricsRegistryInternals::TimestampedValue<int64_t> value_; public: explicit IntegerItem(MetricsUpdatePolicy policy) :