Skip to content

Commit ae3dec4

Browse files
committed
Fixing constexpr
1 parent 30d8f8c commit ae3dec4

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

lib/inc/sys_string/config.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,7 @@
9292
#define SYS_STRING_NO_UNIQUE_ADDRESS [[no_unique_address]]
9393
#endif
9494

95-
//GCC up to 11.3 has a weird constexpr bug in some palces
96-
#if __GNUC__ > 11 || (__GNUC__ == 11 && __GNUC_MINOR__ > 2)
97-
#define SYS_STRING_BUGGY_CONSTEXPR constexpr
98-
#else
99-
#define SYS_STRING_BUGGY_CONSTEXPR
100-
#endif
95+
#define SYS_STRING_BUGGY_CONSTEXPR constexpr
10196

10297
#if __has_include(<version>)
10398
#include <version>

0 commit comments

Comments
 (0)