summaryrefslogtreecommitdiff
path: root/source/fud_string_view.cpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-10-21 12:49:43 -0500
committerDominick Allen <djallen@librehumanitas.org>2024-10-21 12:49:43 -0500
commitb2dbcb55e2832c373fecb4033a3ed77e5dbc77aa (patch)
tree1f294fcf1d85a02db86de3eea2b03393fd89ca5a /source/fud_string_view.cpp
parent6a27a2a4032e88fa9154ef0f0741edc584f7a701 (diff)
Add vector and option.
Diffstat (limited to 'source/fud_string_view.cpp')
-rw-r--r--source/fud_string_view.cpp2
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();