From 07352e82f1f09ecde93c85621a4e6f57500a6fcb Mon Sep 17 00:00:00 2001 From: Denis Krjuchkov Date: Tue, 3 Dec 2013 11:43:26 +0600 Subject: PollGroupWinSelect: delete copy constructor and assignment operator --- src/event/PollGroupWinSelect.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/event/PollGroupWinSelect.hxx b/src/event/PollGroupWinSelect.hxx index 827dc9989..7a6d12d8a 100644 --- a/src/event/PollGroupWinSelect.hxx +++ b/src/event/PollGroupWinSelect.hxx @@ -90,6 +90,8 @@ class PollGroupWinSelect bool CanModify(Item &item, unsigned events, int event_id); void Modify(Item &item, int fd, unsigned events, int event_id); + PollGroupWinSelect(PollGroupWinSelect &) = delete; + PollGroupWinSelect &operator=(PollGroupWinSelect &) = delete; public: static constexpr unsigned READ = 1; static constexpr unsigned WRITE = 2; -- cgit v1.2.3