convert C-style (void) parameter lists to C++ style ()

This commit is contained in:
Arvid Norberg
2018-09-13 10:36:41 -07:00
parent f0a6a922fe
commit 3ccfa34b32
16 changed files with 27 additions and 27 deletions

View File

@@ -134,7 +134,7 @@ public:
* deleteWhenTriggered deletes this event object after the event is triggered (and the handler called)
* handler is the handler to call when the event is triggered.
*/
HTTPEvent(struct event_base* base, bool deleteWhenTriggered, const std::function<void(void)>& handler);
HTTPEvent(struct event_base* base, bool deleteWhenTriggered, const std::function<void()>& handler);
~HTTPEvent();
/** Trigger the event. If tv is 0, trigger it immediately. Otherwise trigger it after
@@ -143,7 +143,7 @@ public:
void trigger(struct timeval* tv);
bool deleteWhenTriggered;
std::function<void(void)> handler;
std::function<void()> handler;
private:
struct event* ev;
};