From de74eecabe2f2bf2593673786a2f3f78b70f3991 Mon Sep 17 00:00:00 2001 From: Zach Laine Date: Sun, 28 Jan 2024 02:01:02 -0600 Subject: [PATCH] Fix broken macro guard on replace join_compat test. --- test/replace.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/replace.cpp b/test/replace.cpp index c7fb4921..b0c10714 100644 --- a/test/replace.cpp +++ b/test/replace.cpp @@ -379,7 +379,7 @@ TEST(replace, replace_unicode) } // TODO: Document this. -#if BOOST_PARSER_USE_CONCEPTS && !defined(__GNUC__) || 12 <= __GNUC__ +#if BOOST_PARSER_USE_CONCEPTS && (!defined(__GNUC__) || 12 <= __GNUC__) // Older GCCs don't like the use of temporaries like the std::string("foo") // below. This causes | join to break. TEST(replace, join_compat) @@ -451,4 +451,4 @@ TEST(replace, doc_examples) } } -#endif \ No newline at end of file +#endif