diff options
author | louiz’ <louiz@louiz.org> | 2016-05-04 14:16:40 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2016-05-04 14:16:40 +0200 |
commit | af42073830087d97385e507f27f601e8769541b0 (patch) | |
tree | d7187f5dcbf73cf73776c6c9dad01ad4d0a25b51 /louloulibs/network/poller.hpp | |
parent | 305e01c0b58ec5cfee276841488f9c24835ce923 (diff) | |
download | biboumi-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 'louloulibs/network/poller.hpp')
-rw-r--r-- | louloulibs/network/poller.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/louloulibs/network/poller.hpp b/louloulibs/network/poller.hpp index de0cb48..4bf7432 100644 --- a/louloulibs/network/poller.hpp +++ b/louloulibs/network/poller.hpp @@ -38,6 +38,10 @@ class Poller public: explicit Poller(); ~Poller(); + Poller(const Poller&) = delete; + Poller(Poller&&) = delete; + Poller& operator=(const Poller&) = delete; + Poller& operator=(Poller&&) = delete; /** * Add a SocketHandler to be monitored by this Poller. All receive events * are always automatically watched. @@ -85,11 +89,6 @@ private: #elif POLLER == EPOLL int epfd; #endif - - Poller(const Poller&) = delete; - Poller(Poller&&) = delete; - Poller& operator=(const Poller&) = delete; - Poller& operator=(Poller&&) = delete; }; #endif // POLLER_INCLUDED |