mirror of
https://github.com/HowardHinnant/date.git
synced 2025-09-25 13:51:04 +02:00
fix: OPERATOR_LITERAL Wdeprecated-literal-operator (#890)
This commit is contained in:
committed by
GitHub
parent
e32a0d809c
commit
a5db3aecec
@@ -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
|
||||
|
Reference in New Issue
Block a user