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 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