PollGroupWinSelect: delete copy constructor and assignment operator

This commit is contained in:
Denis Krjuchkov 2013-12-03 11:43:26 +06:00
parent 1003cc9bf9
commit 07352e82f1

View File

@ -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;