PollGroupEPoll.hxx: add const modifiers where applicable

This commit is contained in:
Denis Krjuchkov 2013-11-29 15:26:57 +06:00
parent 65b24ce557
commit 71bc15aca1

View File

@ -38,8 +38,8 @@ public:
PollResultEPoll() : n_events(0) { }
int GetSize() const { return n_events; }
unsigned GetEvents(int i) { return events[i].events; }
void *GetObject(int i) { return events[i].data.ptr; }
unsigned GetEvents(int i) const { return events[i].events; }
void *GetObject(int i) const { return events[i].data.ptr; }
void Reset() { n_events = 0; }
void Clear(void *obj) {