summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2025-12-28 21:48:09 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2026-01-06 17:06:18 +0100
commit738ea8dc05aef2d354680068715eb88d96351cf3 (patch)
tree6062368b04c55d2a958f28964d38c403d680cf48 /src/util.h
parentfa99825fa800f0faf4a6e6b1d639b261c7aa43c9 (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