Additional adjustments for Poller
[libs/core.git] / source / io / eventdispatcher.cpp
index 550043f4cffdd99f47144a0af5a7e32686cabad1..f98474c227d4cc7e1fd8d1a2e03274a6f21c89d5 100644 (file)
@@ -63,8 +63,8 @@ void EventDispatcher::tick(const Time::Timer &timer)
 
 void EventDispatcher::dispatch()
 {
-       const vector<Poller::Slot> &result = poller.get_result();
-       for(vector<Poller::Slot>::const_iterator i=result.begin(); i!=result.end(); ++i)
+       const vector<Poller::PolledObject> &result = poller.get_result();
+       for(vector<Poller::PolledObject>::const_iterator i=result.begin(); i!=result.end(); ++i)
                i->object->event(i->events);
 }