summaryrefslogtreecommitdiff
path: root/src/utils/stringutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/stringutils.h')
-rw-r--r--src/utils/stringutils.h5
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 == ',' ||