diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-21 20:26:54 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-21 20:31:44 +0000 |
commit | c0d7ecc0cc0644320518b1c4ff90ef2bb2c8b000 (patch) | |
tree | fe673393cbc79a9ab70a0a5d96caf3ad6c8d87b0 /eval | |
parent | 4814eb34c725110f25ab4324699d6f17a291c116 (diff) |
Add noexcept to move constructors and operators
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/eval/value_type.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval/src/vespa/eval/eval/value_type.h b/eval/src/vespa/eval/eval/value_type.h index 1a4182dff2a..3e91240048b 100644 --- a/eval/src/vespa/eval/eval/value_type.h +++ b/eval/src/vespa/eval/eval/value_type.h @@ -46,9 +46,9 @@ private: : _type(type_in), _cell_type(cell_type_in), _dimensions(std::move(dimensions_in)) {} public: - ValueType(ValueType &&) = default; + ValueType(ValueType &&) noexcept = default; ValueType(const ValueType &) = default; - ValueType &operator=(ValueType &&) = default; + ValueType &operator=(ValueType &&) noexcept = default; ValueType &operator=(const ValueType &) = default; ~ValueType(); Type type() const { return _type; } |