2
0
mirror of https://github.com/boostorg/parser.git synced 2026-01-19 04:22:13 +00:00

Fix broken macro guard on replace join_compat test.

This commit is contained in:
Zach Laine
2024-01-28 02:01:02 -06:00
parent 91b2a36b37
commit de74eecabe

View File

@@ -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
#endif