aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorArvid Norberg <arvid@blockstream.io>2018-09-13 10:36:41 -0700
committerArvid Norberg <arvid@blockstream.io>2018-09-13 10:36:41 -0700
commit3ccfa34b32b7ed9d7bef05baa36827b4b262197e (patch)
treef8a24afd1e7d6949040aff1e177b8adf7bc84f83 /src/httpserver.cpp
parentf0a6a922fe64c16829649281f182dc8c5e153333 (diff)
convert C-style (void) parameter lists to C++ style ()
Diffstat (limited to 'src/httpserver.cpp')
-rw-r--r--src/httpserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/httpserver.cpp b/src/httpserver.cpp
index 326f7f6b64..e176746207 100644
--- a/src/httpserver.cpp
+++ b/src/httpserver.cpp
@@ -505,7 +505,7 @@ static void httpevent_callback_fn(evutil_socket_t, short, void* data)
delete self;
}
-HTTPEvent::HTTPEvent(struct event_base* base, bool _deleteWhenTriggered, const std::function<void(void)>& _handler):
+HTTPEvent::HTTPEvent(struct event_base* base, bool _deleteWhenTriggered, const std::function<void()>& _handler):
deleteWhenTriggered(_deleteWhenTriggered), handler(_handler)
{
ev = event_new(base, -1, 0, httpevent_callback_fn, this);