X Tutup
Skip to content

Commit e7af416

Browse files
author
Sebastiano Merlino
committed
Solved a warning with closure action destructor (it was non-virtual)
1 parent d73e44b commit e7af416

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/httpserver/http_response.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ class closure_action
6161
deletable(b.deletable)
6262
{
6363
}
64+
virtual ~closure_action()
65+
{
66+
}
6467
virtual void do_action()
6568
{
6669
}

0 commit comments

Comments
 (0)
X Tutup