Style fix

Move all constructors at the top of classes
This commit is contained in:
louiz’
2016-05-04 14:16:40 +02:00
parent 305e01c0b5
commit af42073830
33 changed files with 157 additions and 174 deletions
+6 -5
View File
@@ -31,6 +31,12 @@ public:
const std::string& realname, const std::string& user_hostname,
Bridge& bridge);
~IrcClient();
IrcClient(const IrcClient&) = delete;
IrcClient(IrcClient&&) = delete;
IrcClient& operator=(const IrcClient&) = delete;
IrcClient& operator=(IrcClient&&) = delete;
/**
* Connect to the IRC server
*/
@@ -360,11 +366,6 @@ private:
* the WebIRC protocole.
*/
Resolver dns_resolver;
IrcClient(const IrcClient&) = delete;
IrcClient(IrcClient&&) = delete;
IrcClient& operator=(const IrcClient&) = delete;
IrcClient& operator=(IrcClient&&) = delete;
};
#endif // IRC_CLIENT_INCLUDED