From f515632ca718c475c573ce760c58d64ff786f8a6 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Wed, 15 Aug 2018 12:05:42 +0200 Subject: Use anonymous namespace --- metrics/src/tests/snapshottest.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'metrics') diff --git a/metrics/src/tests/snapshottest.cpp b/metrics/src/tests/snapshottest.cpp index 816b3456c7e..75af75999d1 100644 --- a/metrics/src/tests/snapshottest.cpp +++ b/metrics/src/tests/snapshottest.cpp @@ -194,7 +194,7 @@ struct FakeTimer : public MetricManager::Timer { time_t getTime() const override { return _timeInSecs; } }; -} // End of anonymous namespace +void ASSERT_VALUE(int32_t value, const MetricSnapshot & snapshot, const char *name) __attribute__((noinline)); void ASSERT_VALUE(int32_t value, const MetricSnapshot & snapshot, const char *name) { @@ -205,6 +205,8 @@ void ASSERT_VALUE(int32_t value, const MetricSnapshot & snapshot, const char *na CPPUNIT_ASSERT_EQUAL(value, int32_t(_metricValue_->getLongValue("value"))); } +} // End of anonymous namespace + void SnapshotTest::testSnapshotTwoDays() { // Create load types -- cgit v1.2.3