diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-01 03:15:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-01 03:15:11 +0300 |
commit | fa338df6c1f3984478671dae8d69ec8866e45f34 (patch) | |
tree | 132dc3951aebc769bbba21613e73d62561b628a8 /src/utils | |
parent | 60442c08c69feed3e1807774c8a8254628c4ad65 (diff) | |
download | plus-fa338df6c1f3984478671dae8d69ec8866e45f34.tar.gz plus-fa338df6c1f3984478671dae8d69ec8866e45f34.tar.bz2 plus-fa338df6c1f3984478671dae8d69ec8866e45f34.tar.xz plus-fa338df6c1f3984478671dae8d69ec8866e45f34.zip |
Fix compilation with clang.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/stringutils.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/stringutils.h b/src/utils/stringutils.h index cb4bbb332..7bbc3a081 100644 --- a/src/utils/stringutils.h +++ b/src/utils/stringutils.h @@ -136,8 +136,9 @@ int compareStrI(const std::string &a, const std::string &b) A_WARN_UNUSED; /** * Tells wether the character is a word separator. */ -constexpr bool isWordSeparator(const signed char chr) A_CONST A_WARN_UNUSED; -constexpr bool isWordSeparator(const signed char chr) +constexpr inline bool isWordSeparator(const signed char chr) + A_CONST A_WARN_UNUSED; +constexpr inline bool isWordSeparator(const signed char chr) { return chr == ' ' || chr == ',' || |