diff options
| author | Martin Hořeňovský | 2026-07-28 11:53:18 +0200 |
|---|---|---|
| committer | GitHub | 2026-07-28 11:53:18 +0200 |
| commit | 9712bc8fe569b10b033b4d753c21658397fa17de (patch) | |
| tree | 5561c33d0f89e2cf249b475a625a2da6f4144d64 /projects | |
| parent | ee1450f268dfd5c13aa8670ba97e93cabaf2e15d (diff) | |
| parent | c002f18535880a18cdaa7304af02cdfd5990279e (diff) | |
| download | catch3-v2.x.tar.gz | |
Merge pull request #3184 from ZheFeng7110/fix/v2.x-user_literal-warnv2.x
(v2.x) Remove space in user-defined literal operators to fix MSVC C4996 warning
Diffstat (limited to 'projects')
| -rw-r--r-- | projects/SelfTest/IntrospectiveTests/String.tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/SelfTest/IntrospectiveTests/String.tests.cpp b/projects/SelfTest/IntrospectiveTests/String.tests.cpp index 3a308657..4c1e1e93 100644 --- a/projects/SelfTest/IntrospectiveTests/String.tests.cpp +++ b/projects/SelfTest/IntrospectiveTests/String.tests.cpp @@ -141,7 +141,7 @@ TEST_CASE("StringRef at compilation time", "[Strings][StringRef][constexpr]") { STATIC_REQUIRE(sr1.size() == 3); STATIC_REQUIRE(sr1.isNullTerminated()); - using Catch::operator"" _sr; + using Catch::operator""_sr; constexpr auto sr2 = ""_sr; STATIC_REQUIRE(sr2.empty()); STATIC_REQUIRE(sr2.size() == 0); |