From 99496633db80675e60ee9edd4d7d49d50d7cbc62 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 16 Oct 2015 21:34:57 +0100 Subject: Exclude print nullptr_t from coverage --- libadhocutil/unittests/testCache.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libadhocutil/unittests/testCache.cpp b/libadhocutil/unittests/testCache.cpp index 736cf07..6520aa3 100644 --- a/libadhocutil/unittests/testCache.cpp +++ b/libadhocutil/unittests/testCache.cpp @@ -5,12 +5,9 @@ #include "cache.h" #include "cache.impl.h" -namespace std { - std::ostream & operator<<(std::ostream & s, const std::nullptr_t &) - { - return s << "(nil)"; - } -} +// LCOV_EXCL_START +BOOST_TEST_DONT_PRINT_LOG_VALUE(std::nullptr_t); +// LCOV_EXCL_STOP namespace AdHoc { typedef Cache TestCache; -- cgit v1.2.3