From 293ccba26f5cd17521df7b4641989dd771865415 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Tue, 23 Dec 2025 14:07:46 +0100 Subject: Use std::string_view instead of std::string in tools.cc whenever applicable --- src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.h') 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 argsplit(const std::string& str); +std::vector 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. -- cgit v1.2.3