aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Chat/ChatCommands
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/game/Chat/ChatCommands')
-rw-r--r--src/server/game/Chat/ChatCommands/ChatCommandTags.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Chat/ChatCommands/ChatCommandTags.h b/src/server/game/Chat/ChatCommands/ChatCommandTags.h
index c7f7d0c0029..39fda4c7c0e 100644
--- a/src/server/game/Chat/ChatCommands/ChatCommandTags.h
+++ b/src/server/game/Chat/ChatCommands/ChatCommandTags.h
@@ -26,9 +26,9 @@
#include "Util.h"
#include <boost/preprocessor/repetition/repeat.hpp>
#include <boost/preprocessor/punctuation/comma_if.hpp>
+#include <fmt/ostream.h>
#include <cmath>
#include <cstring>
-#include <iostream>
#include <string>
#include <string_view>
#include <tuple>
@@ -154,7 +154,7 @@ namespace Trinity::ChatCommands
operator uint32() const { return _id; }
operator std::string const& () const { return _name; }
- operator std::string_view() const { return { _name }; }
+ operator std::string_view() const { return _name; }
uint32 GetID() const { return _id; }
std::string const& GetName() const { return _name; }