diff options
Diffstat (limited to 'web/server')
-rw-r--r-- | web/server/module.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web/server/module.hxx b/web/server/module.hxx index f870163..20f6217 100644 --- a/web/server/module.hxx +++ b/web/server/module.hxx @@ -9,6 +9,7 @@ #include <vector> #include <iosfwd> #include <chrono> +#include <memory> // enable_shared_from_this #include <cstdint> // uint16_t #include <cstddef> // size_t #include <utility> // move() @@ -236,7 +237,7 @@ namespace web // directories (e.g., apache/) if you need to see the code that // does this. // - class handler + class handler: public std::enable_shared_from_this<handler> { public: virtual |