1
0
forked from boostorg/core

Avoid 'unused variable v' warning on msvc-10.0, msvc-11.0

This commit is contained in:
Peter Dimov
2017-11-01 15:38:54 +02:00
parent 69bd3e73bf
commit 2a3387451f

View File

@ -115,7 +115,7 @@ inline const void* test_output_impl(signed char* v) { return v; }
template<class T> inline const void* test_output_impl(T volatile* v) { return const_cast<T*>(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<class T, class U> inline void test_eq_impl( char const * expr1, char const * expr2,