summaryrefslogtreecommitdiffstats
path: root/metrics/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-11-19 23:02:13 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2016-11-19 23:02:13 +0100
commit1ddd4f1eaf5ce840ab3c0900add0f5f2508ff16a (patch)
treee20ac12c30256650644d7c09a0973cd68e07a2d1 /metrics/src
parentcfafe24c5bad65eb6a145a7da863e46ee86106f8 (diff)
Avoid including iostream in header files.
Diffstat (limited to 'metrics/src')
-rw-r--r--metrics/src/tests/countmetrictest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/metrics/src/tests/countmetrictest.cpp b/metrics/src/tests/countmetrictest.cpp
index 1f39113474b..9c99e6c686b 100644
--- a/metrics/src/tests/countmetrictest.cpp
+++ b/metrics/src/tests/countmetrictest.cpp
@@ -43,12 +43,12 @@ void CountMetricTest::testLongCountMetric()
o = m2 - n;
CPPUNIT_ASSERT_EQUAL(uint64_t(84), o.getValue());
- std::string expected(
- "test count=84");
+ std::string expected("test count=84");
CPPUNIT_ASSERT_EQUAL(expected, o.toString());
CPPUNIT_ASSERT_EQUAL(Double(84), Double(o.getDoubleValue("value")));
CPPUNIT_ASSERT_EQUAL(int64_t(84), o.getLongValue("value"));
+ (void) expected;
}
}