summaryrefslogtreecommitdiff
path: root/louloulibs/network/poller.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/poller.hpp')
-rw-r--r--louloulibs/network/poller.hpp9
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