diff options
Diffstat (limited to 'include/async_resp.hpp')
-rw-r--r-- | include/async_resp.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/async_resp.hpp b/include/async_resp.hpp index 78994cf77e..f596dcdd20 100644 --- a/include/async_resp.hpp +++ b/include/async_resp.hpp @@ -14,13 +14,11 @@ class AsyncResp { public: AsyncResp(crow::Response& response) : res(response) - { - } + {} AsyncResp(crow::Response& response, std::function<void()>&& function) : res(response), func(std::move(function)) - { - } + {} ~AsyncResp() { |