aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/PollGroupEPoll.hxx
diff options
context:
space:
mode:
authorDenis Krjuchkov <denis@crazydev.net>2013-11-29 15:26:57 +0600
committerDenis Krjuchkov <denis@crazydev.net>2013-11-29 15:26:57 +0600
commit71bc15aca14db549eef54d39968f8ebe343d56bd (patch)
tree3489a4ae70d0f651986e2db5027dc6a51211c40e /src/event/PollGroupEPoll.hxx
parent65b24ce5577514b093b0cefbf51ce61e85368030 (diff)
downloadmpd-71bc15aca14db549eef54d39968f8ebe343d56bd.tar.gz
mpd-71bc15aca14db549eef54d39968f8ebe343d56bd.tar.xz
mpd-71bc15aca14db549eef54d39968f8ebe343d56bd.zip
PollGroupEPoll.hxx: add const modifiers where applicable
Diffstat (limited to 'src/event/PollGroupEPoll.hxx')
-rw-r--r--src/event/PollGroupEPoll.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/event/PollGroupEPoll.hxx b/src/event/PollGroupEPoll.hxx
index 5d50cef93..21bb3a322 100644
--- a/src/event/PollGroupEPoll.hxx
+++ b/src/event/PollGroupEPoll.hxx
@@ -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) {