aboutsummaryrefslogtreecommitdiff
path: root/src/conversion.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-02-18 19:31:03 +0100
committerHampusM <hampus@hampusmat.com>2022-02-18 19:31:03 +0100
commite206dc1cf625f28149c19eb4dfcbf495ef0efbb4 (patch)
treebdcc6152dbce14f27a17b1a33814b0f8e365969f /src/conversion.cpp
parent3e4d91b6b029374813cfd0900db1fa8984ad7aa3 (diff)
refactor: improve options of all kindsHEADmaster
Diffstat (limited to 'src/conversion.cpp')
-rw-r--r--src/conversion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conversion.cpp b/src/conversion.cpp
index 71ba1b2..79b3587 100644
--- a/src/conversion.cpp
+++ b/src/conversion.cpp
@@ -3,7 +3,7 @@
#include <climits>
#include <stdexcept>
-unsigned int str_to_uint(std::string_view str)
+unsigned int str_to_uint(const std::string_view &str)
{
if (str.at(0) == '-')
{