aboutsummaryrefslogtreecommitdiff
path: root/src/conversion.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversion.hpp')
-rw-r--r--src/conversion.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conversion.hpp b/src/conversion.hpp
index 460a3ac..6da7606 100644
--- a/src/conversion.hpp
+++ b/src/conversion.hpp
@@ -1,6 +1,6 @@
#pragma once
-#include <string>
+#include <string_view>
constexpr unsigned int NUMBER_BASE = 10U;
@@ -10,4 +10,4 @@ constexpr unsigned int NUMBER_BASE = 10U;
* @param str A string that possibly is a unsigned integer
* @returns A unsigned integer
*/
-unsigned int str_to_uint(std::string str);
+unsigned int str_to_uint(std::string_view str);