summaryrefslogtreecommitdiff
path: root/src/utils/paths.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/paths.h')
-rw-r--r--src/utils/paths.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/paths.h b/src/utils/paths.h
index b9cdcca3c..0c36b2f66 100644
--- a/src/utils/paths.h
+++ b/src/utils/paths.h
@@ -29,11 +29,11 @@ std::string getRealPath(const std::string &str) A_WARN_UNUSED;
bool isRealPath(const std::string &str) A_WARN_UNUSED;
-bool checkPath(std::string path) A_WARN_UNUSED;
+bool checkPath(const std::string &path) A_WARN_UNUSED;
std::string &fixDirSeparators(std::string &str);
-std::string removeLast(std::string str) A_WARN_UNUSED;
+std::string removeLast(const std::string &str) A_WARN_UNUSED;
std::string getSelfName() A_WARN_UNUSED;