PollGroupEPoll.hxx: add const modifiers where applicable
This commit is contained in:
parent
65b24ce557
commit
71bc15aca1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user