Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include/internal/catch_approx.h
diff options
context:
space:
mode:
authorMartin Hořeňovský2026-07-28 11:53:18 +0200
committerGitHub2026-07-28 11:53:18 +0200
commit9712bc8fe569b10b033b4d753c21658397fa17de (patch)
tree5561c33d0f89e2cf249b475a625a2da6f4144d64 /include/internal/catch_approx.h
parentee1450f268dfd5c13aa8670ba97e93cabaf2e15d (diff)
parentc002f18535880a18cdaa7304af02cdfd5990279e (diff)
downloadcatch3-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 'include/internal/catch_approx.h')
-rw-r--r--include/internal/catch_approx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/catch_approx.h b/include/internal/catch_approx.h
index 2d12efe4..bb99ef12 100644
--- a/include/internal/catch_approx.h
+++ b/include/internal/catch_approx.h
@@ -118,8 +118,8 @@ namespace Detail {
} // end namespace Detail
namespace literals {
- Detail::Approx operator "" _a(long double val);
- Detail::Approx operator "" _a(unsigned long long val);
+ Detail::Approx operator ""_a(long double val);
+ Detail::Approx operator ""_a(unsigned long long val);
} // end namespace literals
template<>