diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-05-15 10:04:37 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2024-05-15 10:04:37 +0000 |
commit | 470ac988af289b7d86f124e885db8180eda31c95 (patch) | |
tree | 796b0e4ba7c39b224779b5a739db69b2752bcf98 /eval | |
parent | 51dd79b028db920f0749dd183200455f2f7a1f71 (diff) |
Use explicit static_cast
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/eval/int8float.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/vespa/eval/eval/int8float.h b/eval/src/vespa/eval/eval/int8float.h index b751b2eb8ad..d28446a8524 100644 --- a/eval/src/vespa/eval/eval/int8float.h +++ b/eval/src/vespa/eval/eval/int8float.h @@ -32,7 +32,7 @@ public: constexpr float to_float() const noexcept { return _bits; } constexpr void assign(float value) noexcept { _bits = value; } - constexpr int8_t get_bits() const { return _bits; } + constexpr int8_t get_bits() const noexcept { return _bits; } constexpr void assign_bits(int8_t value) noexcept { _bits = value; } }; |