summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 38d89f2..337c1e4 100644
--- a/src/util.h
+++ b/src/util.h
@@ -34,7 +34,7 @@ std::string locate(const std::string& app,
const std::string& arch = {});
//! Splits string into tokens adhering to quotations " and '
-std::vector<std::string> argsplit(const std::string& str);
+std::vector<std::string> argsplit(std::string_view str);
//! Calls the system getenv and sets the string if the env name it exists.
//! \returns true if the env name existed, false otherwise.