diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-31 22:45:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-31 22:45:19 +0300 |
commit | e4527d501cf73ef545894dfba5cc763d9476759d (patch) | |
tree | fa361d358c5b1ce713d5af7d67914d8b2df8fd75 /src/utils/stringutils.cpp | |
parent | 4ec9d3a629305e72d8dc81006080a2622bb90a32 (diff) | |
download | manaverse-e4527d501cf73ef545894dfba5cc763d9476759d.tar.gz manaverse-e4527d501cf73ef545894dfba5cc763d9476759d.tar.bz2 manaverse-e4527d501cf73ef545894dfba5cc763d9476759d.tar.xz manaverse-e4527d501cf73ef545894dfba5cc763d9476759d.zip |
Convert function isWordSeparator into constexpr function.
Diffstat (limited to 'src/utils/stringutils.cpp')
-rw-r--r-- | src/utils/stringutils.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp index 6ec7817ed..0cece6d0a 100644 --- a/src/utils/stringutils.cpp +++ b/src/utils/stringutils.cpp @@ -154,15 +154,6 @@ int compareStrI(const std::string &a, const std::string &b) return 1; } - -bool isWordSeparator(const signed char chr) -{ - return chr == ' ' || - chr == ',' || - chr == '.' || - chr == '"'; -} - const std::string findSameSubstring(const std::string &restrict str1, const std::string &restrict str2) { |