aboutsummaryrefslogtreecommitdiff
path: root/web/server/module.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'web/server/module.hxx')
-rw-r--r--web/server/module.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/web/server/module.hxx b/web/server/module.hxx
index beda73c..20f6217 100644
--- a/web/server/module.hxx
+++ b/web/server/module.hxx
@@ -9,13 +9,14 @@
#include <vector>
#include <iosfwd>
#include <chrono>
+#include <memory> // enable_shared_from_this
#include <cstdint> // uint16_t
#include <cstddef> // size_t
#include <utility> // move()
#include <stdexcept> // runtime_error
-#include <libbutl/path.mxx>
-#include <libbutl/optional.mxx>
+#include <libbutl/path.hxx>
+#include <libbutl/optional.hxx>
namespace web
{
@@ -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