diff options
| author | Shauren <shauren.trinity@gmail.com> | 2022-02-11 14:33:35 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2022-02-11 14:33:35 +0100 |
| commit | cbcd149ce508dfe8ff508391f9e32b7dc2cfbe5c (patch) | |
| tree | a0b8f575b1fba587e90781e43b4f94f4bbc7a812 /src/server/game/Chat/ChatCommands | |
| parent | 5b02c53fc568edd96ab557a8dd4d0195bcc9ec8c (diff) | |
Core/Misc: Explicitly include required headers instead of relying on them to be included by other headers
Diffstat (limited to 'src/server/game/Chat/ChatCommands')
| -rw-r--r-- | src/server/game/Chat/ChatCommands/ChatCommandTags.h | 4 |
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; } |
