summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:57 +0300
commite41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a (patch)
tree52478efd9359de529eaebce001a20f55ac7f57cb /src/utils/stringutils.h
parentd5e0c211ced60c77acad477f30ef8039ef05b48b (diff)
downloadplus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.tar.gz
plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.tar.bz2
plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.tar.xz
plus-e41a4b4d4cdd4f4d7ef39981c753b92ca75dc07a.zip
Add const attribute to other files.
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h
index 31f562587..e35cacca4 100644
--- a/src/utils/stringutils.h
+++ b/src/utils/stringutils.h
@@ -138,7 +138,7 @@ int compareStrI(const std::string &a, const std::string &b) A_WARN_UNUSED;
/**
* Tells wether the character is a word separator.
*/
-bool isWordSeparator(const signed char chr) A_WARN_UNUSED;
+bool isWordSeparator(const signed char chr) A_CONST A_WARN_UNUSED;
size_t findI(std::string str, std::string subStr) A_WARN_UNUSED;