From 66491dbfb35bf0a18a277767c011bd5f8c4a7e0c Mon Sep 17 00:00:00 2001 From: Treeston Date: Mon, 17 Aug 2020 14:42:04 +0200 Subject: make compilers happy --- src/server/game/Chat/ChatCommands/ChatCommandTags.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/game/Chat/ChatCommands/ChatCommandTags.h b/src/server/game/Chat/ChatCommands/ChatCommandTags.h index ba4f6d5a649..51171d29b2c 100644 --- a/src/server/game/Chat/ChatCommands/ChatCommandTags.h +++ b/src/server/game/Chat/ChatCommands/ChatCommandTags.h @@ -59,7 +59,7 @@ namespace Trinity::ChatCommands { if (*(pos++) == c1) { - if constexpr (sizeof...(chars)) + if constexpr (sizeof...(chars) > 0) return ExactSequence::_TryConsume(pos); else if (Trinity::Impl::ChatCommands::tokenize(pos)) /* we did not consume the entire token */ return nullptr; -- cgit v1.2.3