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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user