summaryrefslogtreecommitdiff
path: root/src/utils/paths.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-18 15:31:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-18 15:31:02 +0300
commit4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91 (patch)
tree0708b58a04f841fef5bade291140fc72dc2fff0c /src/utils/paths.h
parent7e0dd590a8f34f4e5e6bbb58b5376fd81ff494f0 (diff)
downloadplus-4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91.tar.gz
plus-4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91.tar.bz2
plus-4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91.tar.xz
plus-4bfeee3b4b6c2f58c0231fd5fe7e4c7c6042dc91.zip
improve paths file.
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;