We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 830103f commit c0d60eeCopy full SHA for c0d60ee
src/webserver.cpp
@@ -288,11 +288,11 @@ struct event_tuple
288
dispatch_events_ptr dispatch_events;
289
290
template<typename T>
291
- event_tuple(event_supplier<T>* es)
+ event_tuple(event_supplier<T>* es):
292
+ supply_events(std::bind1st(std::mem_fun(&T::supply_events), es)),
293
+ get_timeout(std::bind1st(std::mem_fun(&T::get_timeout), es)),
294
+ dispatch_events(std::bind1st(std::mem_fun(&T::dispatch_events), es))
295
{
- supply_events(std::bind1st(std::mem_fun(&T::supply_events), es));
- get_timeout(std::bind1st(std::mem_fun(&T::get_timeout), es));
- dispatch_events(std::bind1st(std::mem_fun(&T::dispatch_events), es));
296
}
297
};
298
0 commit comments