aboutsummaryrefslogtreecommitdiff
path: root/web/server/module.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-02-22 11:17:25 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-02-22 11:18:08 +0300
commitd4900d85f7a5d791f89821713d02d3dd19361044 (patch)
tree4e7a1cc241d108c89779df9ec62f144a62937c17 /web/server/module.hxx
parentf5ed92e8dbdfd751276ebb054669ca649b28e43c (diff)
Add support for tenant-associated service notifications
Diffstat (limited to 'web/server/module.hxx')
-rw-r--r--web/server/module.hxx3
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