diff --git a/src/myx/backports/compiler/gcc.hpp b/src/myx/backports/compiler/gcc.hpp index 67a614b..15639d8 100644 --- a/src/myx/backports/compiler/gcc.hpp +++ b/src/myx/backports/compiler/gcc.hpp @@ -13,11 +13,10 @@ #pragma clang diagnostic ignored "-Wkeyword-macro" #endif -// NOLINTNEXTLINE +#if ( __cplusplus < 201103L ) #define override - -// NOLINTNEXTLINE -#define constexpr const +#define constexpr +#endif #ifdef __clang__ #pragma clang diagnostic pop