From 7b564d8d267c3ebdf069ab732126f602c28c70a0 Mon Sep 17 00:00:00 2001 From: Gennaro Prota Date: Wed, 22 Oct 2025 19:18:39 +0200 Subject: [PATCH] Fix two macro names in the unit tests --- test/static_string.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/static_string.cpp b/test/static_string.cpp index c3ebae8..b79d0a7 100644 --- a/test/static_string.cpp +++ b/test/static_string.cpp @@ -919,14 +919,14 @@ testElements() BOOST_TEST(std::memcmp( s.c_str(), "123\0", 4) == 0); } -#ifdef BOOST_STATIC_ASSERT_HAS_STRING_VIEW +#ifdef BOOST_STATIC_STRING_HAS_STRING_VIEW { static_string<3> s("123"); string_view sv = s; BOOST_TEST(static_string<5>(sv) == "123"); } #endif -#ifdef BOOST_STATIC_ASSERT_HAS_STD_STRING_VIEW +#ifdef BOOST_STATIC_STRING_HAS_STD_STRING_VIEW { static_string<3> s("123"); std::string_view sv = s;