From 2c34d00261d2e04d50ab270fa0ef4f709868c54e Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Mon, 23 Sep 2024 10:53:56 +0200 Subject: [PATCH] Don't use std::quoted(), it requires C++14 --- test/base-utility.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/base-utility.cpp b/test/base-utility.cpp index 8fe1814da..3cd99eae7 100644 --- a/test/base-utility.cpp +++ b/test/base-utility.cpp @@ -200,8 +200,8 @@ BOOST_AUTO_TEST_CASE(FormatDateTime) { // properly reporting errors. If this limitation of our implementation is lifted, other behavior like throwing // an exception would also be valid. BOOST_CHECK_MESSAGE(result.empty() || result == format, - "FormatDateTime(" << std::quoted(format) << ", " << ts << ") = " << std::quoted(result) << - " should be one of [\"\", " << std::quoted(format) << "]"); + "FormatDateTime(\"" << format << "\", " << ts << ") = \"" << result << + "\" should be one of [\"\", \"" << format << "\"]"); } // Out of range timestamps.