diff options
author | Tor Egge <Tor.Egge@online.no> | 2023-01-29 20:08:53 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2023-01-29 20:08:53 +0100 |
commit | a31a1bcc0c8fc3fd997189a9e4c63fdfd4cf9e1b (patch) | |
tree | c4684a87b73e44fea2d33da06316ccb7ca897feb /vespalib | |
parent | 1998595df63050d779e8f5e52b22962245fe1329 (diff) |
Reintroduce reversed form of vespalib::string equality comparison operators
when compiling with gcc 13.
Diffstat (limited to 'vespalib')
-rw-r--r-- | vespalib/src/vespa/vespalib/stllike/string.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/stllike/string.h b/vespalib/src/vespa/vespalib/stllike/string.h index a4eabaea42d..8bcb03ef781 100644 --- a/vespalib/src/vespa/vespalib/stllike/string.h +++ b/vespalib/src/vespa/vespalib/stllike/string.h @@ -654,7 +654,7 @@ template<uint32_t StackSize> small_string<StackSize> operator + (const char * a, const small_string<StackSize> & b); -#if __cplusplus < 201709L +#if __cplusplus < 201709L || (!defined(__clang__) && __GNUC__ == 13) template<typename T, uint32_t StackSize> bool operator == (const T& a, const small_string<StackSize>& b) noexcept |