From f9c3bb397743e2556b55f8f6433aec8e731a81e8 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 10 Jul 2021 02:05:56 +0200 Subject: Use dcp::compose rather than our own. --- test/test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test.cc b/test/test.cc index bc2acda..d4075ed 100644 --- a/test/test.cc +++ b/test/test.cc @@ -20,7 +20,7 @@ #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE libsub_test #include "iso6937_tables.h" -#include "compose.hpp" +#include #include #include #include @@ -106,7 +106,7 @@ check_file (boost::filesystem::path ref, boost::filesystem::path check) BOOST_CHECK_EQUAL (r, this_time); for (uintmax_t i = 0; i < this_time; ++i) { - string const s = String::compose ( + string const s = dcp::compose ( "Files differ at offset %1; reference is %2, check is %3", (offset + i), ((int) ref_buffer[i]), ((int) check_buffer[i]) ); BOOST_CHECK_MESSAGE (ref_buffer[i] == check_buffer[i], s); -- cgit v1.2.3