diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-12-04 10:45:56 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-12-04 10:54:21 +0100 |
commit | 2c3f6574d140775d8aa975f24d4f74b9a674b8d8 (patch) | |
tree | 08b07ffc0bdffa1bc4ac48cfc995f918b1246c4c /eval | |
parent | 555200c6f53a4ddb579181cac50a950c5647d854 (diff) |
Add noexcept specifier to non-throwing member functions.
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/eval/tensor_spec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/vespa/eval/eval/tensor_spec.h b/eval/src/vespa/eval/eval/tensor_spec.h index 490150ec786..4f11491571c 100644 --- a/eval/src/vespa/eval/eval/tensor_spec.h +++ b/eval/src/vespa/eval/eval/tensor_spec.h @@ -40,7 +40,7 @@ public: return ((index == rhs.index) && (name == rhs.name)); } - bool operator<(const Label &rhs) const { + bool operator<(const Label &rhs) const noexcept { if (index != rhs.index) { return (index < rhs.index); } |