summaryrefslogtreecommitdiff
path: root/boost/test/tools/detail/print_helper.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/test/tools/detail/print_helper.hpp')
-rw-r--r--boost/test/tools/detail/print_helper.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/boost/test/tools/detail/print_helper.hpp b/boost/test/tools/detail/print_helper.hpp
index 1e4dd6e3c0..2c6a3b5e80 100644
--- a/boost/test/tools/detail/print_helper.hpp
+++ b/boost/test/tools/detail/print_helper.hpp
@@ -166,8 +166,11 @@ struct BOOST_TEST_DECL print_log_value<wchar_t const*> {
#if !defined(BOOST_NO_CXX11_NULLPTR)
template<>
-struct BOOST_TEST_DECL print_log_value<std::nullptr_t> {
- void operator()( std::ostream& ostr, std::nullptr_t t );
+struct print_log_value<std::nullptr_t> {
+ // declaration and definition is here because of #12969 https://svn.boost.org/trac10/ticket/12969
+ void operator()( std::ostream& ostr, std::nullptr_t /*t*/ ) {
+ ostr << "nullptr";
+ }
};
#endif