diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-19 23:02:13 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2016-11-19 23:02:13 +0100 |
commit | 1ddd4f1eaf5ce840ab3c0900add0f5f2508ff16a (patch) | |
tree | e20ac12c30256650644d7c09a0973cd68e07a2d1 /metrics/src | |
parent | cfafe24c5bad65eb6a145a7da863e46ee86106f8 (diff) |
Avoid including iostream in header files.
Diffstat (limited to 'metrics/src')
-rw-r--r-- | metrics/src/tests/countmetrictest.cpp | 4 |
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; } } |