aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/util/CharUtil.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/CharUtil.hxx b/src/util/CharUtil.hxx
index 197f34049..3c1959b22 100644
--- a/src/util/CharUtil.hxx
+++ b/src/util/CharUtil.hxx
@@ -44,12 +44,14 @@ IsASCII(const char ch)
return IsASCII((unsigned char)ch);
}
+constexpr
static inline bool
IsWhitespaceOrNull(const char ch)
{
return (unsigned char)ch <= 0x20;
}
+constexpr
static inline bool
IsWhitespaceNotNull(const char ch)
{