summaryrefslogtreecommitdiff
path: root/src/irc/iid.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-05-04 14:16:40 +0200
committerlouiz’ <louiz@louiz.org>2016-05-04 14:16:40 +0200
commitaf42073830087d97385e507f27f601e8769541b0 (patch)
treed7187f5dcbf73cf73776c6c9dad01ad4d0a25b51 /src/irc/iid.hpp
parent305e01c0b58ec5cfee276841488f9c24835ce923 (diff)
downloadbiboumi-af42073830087d97385e507f27f601e8769541b0.tar.gz
biboumi-af42073830087d97385e507f27f601e8769541b0.tar.bz2
biboumi-af42073830087d97385e507f27f601e8769541b0.tar.xz
biboumi-af42073830087d97385e507f27f601e8769541b0.zip
Style fix
Move all constructors at the top of classes
Diffstat (limited to 'src/irc/iid.hpp')
-rw-r--r--src/irc/iid.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/irc/iid.hpp b/src/irc/iid.hpp
index 91779b2..1c026e8 100644
--- a/src/irc/iid.hpp
+++ b/src/irc/iid.hpp
@@ -43,8 +43,12 @@ class Iid
{
public:
Iid(const std::string& iid);
- explicit Iid(const Iid&);
- explicit Iid();
+ Iid();
+ Iid(const Iid&) = default;
+
+ Iid(Iid&&) = delete;
+ Iid& operator=(const Iid&) = delete;
+ Iid& operator=(Iid&&) = delete;
void set_local(const std::string& loc);
void set_server(const std::string& serv);
@@ -63,10 +67,6 @@ private:
std::string local;
std::string server;
-
- Iid(Iid&&) = delete;
- Iid& operator=(const Iid&) = delete;
- Iid& operator=(Iid&&) = delete;
};
namespace std {