summaryrefslogtreecommitdiff
path: root/boost/test/tools/detail/print_helper.hpp
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2019-12-05 15:12:59 +0900
commitb8cf34c691623e4ec329053cbbf68522a855882d (patch)
tree34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/test/tools/detail/print_helper.hpp
parent3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff)
downloadboost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz
boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2
boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip
Imported Upstream version 1.67.0upstream/1.67.0
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