diff --git a/server_http.hpp b/server_http.hpp index 020c30e..1db0368 100644 --- a/server_http.hpp +++ b/server_http.hpp @@ -101,7 +101,7 @@ namespace SimpleWeb { } else { // All handlers in the queue is called with ec: - std::vector> callbacks; + std::list> callbacks; for(auto &pair : self->send_queue) { if(pair.second) callbacks.emplace_back(std::move(pair.second));