From e2eaf2edb826d2d4c89e04f5ccf4fef2b6c7b33b Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 21 Feb 2022 00:12:51 -0500 Subject: [PATCH] Remove unnecessary const in string_utils.hpp --- engine/utility/include/string_utils.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/engine/utility/include/string_utils.hpp b/engine/utility/include/string_utils.hpp index ae8dd0b..fd3cead 100755 --- a/engine/utility/include/string_utils.hpp +++ b/engine/utility/include/string_utils.hpp @@ -4,11 +4,11 @@ #include #include -std::string remove_substring(const std::string_view string, const std::string_view substring); -std::string replace_substring(const std::string_view string, const std::string_view substring, const std::string_view replacement); +std::string remove_substring(std::string_view string, std::string_view substring); +std::string replace_substring(std::string_view string, std::string_view substring, std::string_view replacement); -bool string_contains(const std::string_view a, const std::string_view b); -bool string_starts_with(const std::string_view haystack, const std::string_view needle); -bool is_numeric(const std::string_view string); +bool string_contains(std::string_view a, std::string_view b); +bool string_starts_with(std::string_view haystack, std::string_view needle); +bool is_numeric(std::string_view string); -std::vector tokenize(const std::string_view string, const std::string_view& delimiters = ","); +std::vector tokenize(std::string_view string, const std::string_view& delimiters = ",");