Skip to content

Commit 720835b

Browse files
committed
Spell 'includes' correctly
1 parent a770517 commit 720835b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/cpp2util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1755,7 +1755,7 @@ using cpp2::cpp2_new;
17551755
// See commit 5a0d77f8e297902c0b9712c5aafb6208cfa4c139.
17561756
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 10
17571757
#define CPP2_REQUIRES(...) /* empty */
1758-
#define CPP2_REQUIRES_MEMFN(...) static_assert(false, "GCC 11 or higher is required to support type-scope functions that have a 'requires' clause. This includs a 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10.")
1758+
#define CPP2_REQUIRES_MEMFN(...) static_assert(false, "GCC 11 or higher is required to support type-scope functions that have a 'requires' clause. This includes a 'forward' parameter of non-wildcard type, such as 'func: (this, forward s: std::string)', which relies on being able to add a 'requires' clause - in that case, use 'forward s: _' instead if you need the result to compile with GCC 10.")
17591759
#else
17601760
#define CPP2_REQUIRES(...) requires (__VA_ARGS__)
17611761
#define CPP2_REQUIRES_MEMFN(...) requires (__VA_ARGS__)

0 commit comments

Comments
 (0)