client/Message: make valid_channel_char() constexpr

This commit is contained in:
Max Kellermann 2017-12-20 10:27:43 +01:00
parent 8ac73a9eba
commit 7094d88958
1 changed files with 1 additions and 3 deletions

View File

@ -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) ||