client/Message: make valid_channel_char() constexpr
This commit is contained in:
parent
8ac73a9eba
commit
7094d88958
|
@ -19,10 +19,8 @@
|
|||
|
||||
#include "ClientMessage.hxx"
|
||||
#include "util/CharUtil.hxx"
|
||||
#include "Compiler.h"
|
||||
|
||||
gcc_const
|
||||
static bool
|
||||
static constexpr bool
|
||||
valid_channel_char(const char ch) noexcept
|
||||
{
|
||||
return IsAlphaNumericASCII(ch) ||
|
||||
|
|
Loading…
Reference in New Issue