summaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-12-04 12:42:20 +0000
committerArne Juul <arnej@verizonmedia.com>2020-12-06 16:02:59 +0100
commit941fc8232160e3f952af96a4e1e056d54807d587 (patch)
tree3fffcd69b6a8c4a99b6eaa563858eb55ab95fd6e /vespalib
parent23f7bf9b66adc6316c9642b8c29c6aeb93e316b9 (diff)
Some -std=c++20a fixes:
add noexcept de-inline destructor avoid comparison warning (and revert changes already made in another branch)
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/data/slime/symbol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalib/src/vespa/vespalib/data/slime/symbol.h b/vespalib/src/vespa/vespalib/data/slime/symbol.h
index b63d264f233..93dd0d9b69a 100644
--- a/vespalib/src/vespa/vespalib/data/slime/symbol.h
+++ b/vespalib/src/vespa/vespalib/data/slime/symbol.h
@@ -23,7 +23,7 @@ public:
bool undefined() const { return (_value == UNDEFINED); }
uint32_t getValue() const { return _value; }
bool operator<(const Symbol &rhs) const noexcept { return (_value < rhs._value); }
- bool operator==(const Symbol &rhs) const { return (_value == rhs._value); }
+ bool operator==(const Symbol &rhs) const noexcept { return (_value == rhs._value); }
};
} // namespace vespalib::slime