Skip to content

Commit ac7cb6f

Browse files
author
Hana Dusíková
committed
support for operator"" in GCC10
1 parent b9b2685 commit ac7cb6f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ctre/literals.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ namespace literals {
3131
#ifdef __INTEL_COMPILER
3232
// not enable literals
3333
#elif defined __GNUC__
34-
#if not(__GNUC__ == 9 || __GNUC__ == 10)
34+
#if not(__GNUC__ == 9)
3535
#define CTRE_ENABLE_LITERALS
3636
#endif
3737
#endif

single-header/ctre.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3670,7 +3670,7 @@ namespace literals {
36703670
#ifdef __INTEL_COMPILER
36713671
// not enable literals
36723672
#elif defined __GNUC__
3673-
#if not(__GNUC__ == 9 || __GNUC__ == 10)
3673+
#if not(__GNUC__ == 9)
36743674
#define CTRE_ENABLE_LITERALS
36753675
#endif
36763676
#endif

0 commit comments

Comments
 (0)