diff options
-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 == ',' || |