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.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/util.cc') diff --git a/src/util.cc b/src/util.cc index a4abd23..010cde3 100644 --- a/src/util.cc +++ b/src/util.cc @@ -205,7 +205,7 @@ std::string locate(const std::string& prog, return {}; } -std::vector argsplit(const std::string& str) +std::vector argsplit(std::string_view str) { enum class state { -- cgit v1.2.3