Style fix
Move all constructors at the top of classes
This commit is contained in:
@@ -11,16 +11,16 @@ public:
|
||||
IrcMessage(std::string&& line);
|
||||
IrcMessage(std::string&& prefix, std::string&& command, std::vector<std::string>&& args);
|
||||
IrcMessage(std::string&& command, std::vector<std::string>&& args);
|
||||
~IrcMessage();
|
||||
|
||||
std::string prefix;
|
||||
std::string command;
|
||||
std::vector<std::string> arguments;
|
||||
~IrcMessage() = default;
|
||||
|
||||
IrcMessage(const IrcMessage&) = delete;
|
||||
IrcMessage(IrcMessage&&) = delete;
|
||||
IrcMessage& operator=(const IrcMessage&) = delete;
|
||||
IrcMessage& operator=(IrcMessage&&) = delete;
|
||||
|
||||
std::string prefix;
|
||||
std::string command;
|
||||
std::vector<std::string> arguments;
|
||||
};
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const IrcMessage& message);
|
||||
|
||||
Reference in New Issue
Block a user