summaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-04-24 19:56:49 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2024-04-25 22:54:52 +0000
commit5553d03a2ea19017c9547478db70d1704d559f50 (patch)
treee1f0b16aa439374b6bf3cd3f0796fcb2ef653f8c /eval
parentbec1ec03ae0dbb1a27c408d8484e9a959753b510 (diff)
Add final on MutableDenseValueView and use noexcept where applicable.
Diffstat (limited to 'eval')
-rw-r--r--eval/src/vespa/eval/onnx/onnx_wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/vespa/eval/onnx/onnx_wrapper.cpp b/eval/src/vespa/eval/onnx/onnx_wrapper.cpp
index 5457a3a1d1c..e5924043a8c 100644
--- a/eval/src/vespa/eval/onnx/onnx_wrapper.cpp
+++ b/eval/src/vespa/eval/onnx/onnx_wrapper.cpp
@@ -163,7 +163,7 @@ class OnnxString {
private:
static Ort::AllocatorWithDefaultOptions _alloc;
Ort::AllocatedStringPtr _str;
- OnnxString(Ort::AllocatedStringPtr str) : _str(std::move(str)) {}
+ OnnxString(Ort::AllocatedStringPtr str) noexcept : _str(std::move(str)) {}
public:
OnnxString(const OnnxString &rhs) = delete;
OnnxString &operator=(const OnnxString &rhs) = delete;