Commit 7094d889 authored by Max Kellermann's avatar Max Kellermann

client/Message: make valid_channel_char() constexpr

parent 8ac73a9e
......@@ -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) ||
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment