From 2a3387451fedc1222e9f43e24d300a155295f20d Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Wed, 1 Nov 2017 15:38:54 +0200 Subject: [PATCH] Avoid 'unused variable v' warning on msvc-10.0, msvc-11.0 --- include/boost/core/lightweight_test.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,