Skip to content

Commit aeb66c6

Browse files
author
Sebastiano Merlino
committed
data closure for closure action is now optional
1 parent 9163a4f commit aeb66c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/httpserver/http_response.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ class http_response
378378
topics.push_back(*it);
379379
return topics.size();
380380
}
381-
void set_closure_action(void(*ca)(void*), void* closure_data)
381+
void set_closure_action(void(*ca)(void*), void* closure_data = 0x0)
382382
{
383383
this->ca = ca;
384384
this->closure_data = closure_data;

0 commit comments

Comments
 (0)