summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-09-15 14:40:47 +0100
committerDan Goodliffe <daniel.goodliffe@pressassociation.com>2017-09-15 14:40:47 +0100
commit9132b0798b3c254bbbc777ee3ee6b94b99bf04bf (patch)
treea1a1cb6eefb984d323af5958fd4019c154f18de2
parentAdd compatibility with raw pointers to LazyPointer (diff)
downloadlibadhocutil-9132b0798b3c254bbbc777ee3ee6b94b99bf04bf.tar.bz2
libadhocutil-9132b0798b3c254bbbc777ee3ee6b94b99bf04bf.tar.xz
libadhocutil-9132b0798b3c254bbbc777ee3ee6b94b99bf04bf.zip
Don't need to add don't print log for nullptr_t from boost 1.64 onwardslibadhocutil-0.4.3.2
-rw-r--r--libadhocutil/unittests/testCache.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libadhocutil/unittests/testCache.cpp b/libadhocutil/unittests/testCache.cpp
index 4468ca2..9e40fc0 100644
--- a/libadhocutil/unittests/testCache.cpp
+++ b/libadhocutil/unittests/testCache.cpp
@@ -4,9 +4,12 @@
#include <boost/bind.hpp>
#include "cache.h"
#include "cache.impl.h"
+#include <boost/version.hpp>
// LCOV_EXCL_START
+#if (BOOST_VERSION < 106400)
BOOST_TEST_DONT_PRINT_LOG_VALUE(std::nullptr_t);
+#endif
// LCOV_EXCL_STOP
class Obj {