From fb09632580fc0f4bfc17699ff44fdac0b0d5983c Mon Sep 17 00:00:00 2001 From: Bjorn Reese Date: Sun, 12 Feb 2017 12:26:58 +0100 Subject: [PATCH] Use test_output_impl in test_all_eq_impl --- 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 4532819..8cc5547 100644 --- a/include/boost/core/lightweight_test.hpp +++ b/include/boost/core/lightweight_test.hpp @@ -218,7 +218,7 @@ void test_all_eq_impl(FormattedOutputFunction& output, { output << file << "(" << line << "): Container contents differ in function '" << function << "': mismatching indices"; } - output << " [" << std::distance(first_begin, first_it) << "] '" << *first_it << "' != '" << *second_it << "'"; + output << " [" << std::distance(first_begin, first_it) << "] '" << test_output_impl(*first_it) << "' != '" << test_output_impl(*second_it) << "'"; ++first_it; ++second_it; ++error_count;