Commit 71bc15ac authored by Denis Krjuchkov's avatar Denis Krjuchkov

PollGroupEPoll.hxx: add const modifiers where applicable

parent 65b24ce5
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment