diff options
Diffstat (limited to 'source/fud_string_view.cpp')
-rw-r--r-- | source/fud_string_view.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fud_string_view.cpp b/source/fud_string_view.cpp index fdb63b3..1cc73a6 100644 --- a/source/fud_string_view.cpp +++ b/source/fud_string_view.cpp @@ -1066,7 +1066,7 @@ FudStatus stringViewToFloat(StringView input, T& number, size_t& index) if (std::isinf(num) || std::isnan(num)) // isnan is dubious here - likely unreachable { - return ExtRangeError; + return FudStatus::RangeError; } return retSuccess(); |