diff --git a/include/boost/core/lightweight_test.hpp b/include/boost/core/lightweight_test.hpp index 603e905..73557be 100644 --- a/include/boost/core/lightweight_test.hpp +++ b/include/boost/core/lightweight_test.hpp @@ -115,7 +115,7 @@ inline const void* test_output_impl(signed char* v) { return v; } template inline const void* test_output_impl(T volatile* v) { return const_cast(v); } #if !defined( BOOST_NO_CXX11_NULLPTR ) -inline const void* test_output_impl(std::nullptr_t v) { return v; } +inline const void* test_output_impl(std::nullptr_t) { return nullptr; } #endif template inline void test_eq_impl( char const * expr1, char const * expr2,