fix: OPERATOR_LITERAL Wdeprecated-literal-operator (#890)

This commit is contained in:
Konstantin Goncharik
2025-08-13 00:27:42 +07:00
committed by GitHub
parent e32a0d809c
commit a5db3aecec

View File

@@ -84,7 +84,7 @@
# pragma warning(disable : 4127)
#endif
#if (defined(__GNUC__) && __GNUC__ < 5)
#if (defined(__GNUC__) && __GNUC__ < 5) && !defined(__clang__) && !defined(_MSC_VER)
# define OPERATOR_LITERAL(suffix) operator"" _##suffix
#else
# define OPERATOR_LITERAL(suffix) operator""_##suffix