summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-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 411f055..23a4671 100644
--- a/source/fud_string_view.cpp
+++ b/source/fud_string_view.cpp
@@ -900,7 +900,7 @@ FudStatus getWhole(
}
template <typename T>
-FudStatus getExponent(const StringView& view, size_t& digitIndex, T& num, uint8_t radix)
+FudStatus getExponent(StringView view, size_t& digitIndex, T& num, uint8_t radix)
{
int32_t exponent{};
StringView tempView{view.length - digitIndex, view.data + digitIndex};