summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-04-02 21:54:55 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2025-12-23 18:32:57 +0100
commit4d0fa88d4b189d12005f36b076173d01a0d7bb87 (patch)
tree4fae3689d84c5858630be01d806adb6d142a434c /src/util.h
parenta43e4eeb6a8c1b0906f5af0b964a301d2ec0321b (diff)
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 337c1e4..eb30b3f 100644
--- a/src/util.h
+++ b/src/util.h
@@ -21,7 +21,7 @@ void append(T& a, const T& b)
a.insert(a.end(), b.begin(), b.end());
}
-std::string esc(const std::string& in);
+std::string esc(std::string_view in);
//! Get system paths (ie. env var PATH).
//! If path_env is provided, this search string will be used, other the PATH