summaryrefslogtreecommitdiff
path: root/includes/HttpServer.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-08-30 14:29:05 -0700
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-08-30 14:29:05 -0700
commit7866096c62f265960d48a61ceb1ad8d53e44400a (patch)
treec38b382a5e5293eccdf27d2c33b214bb3f4a7f9d /includes/HttpServer.h
parent38833205e4011a8a318b8dc6809621a89ad9f446 (diff)
Adding a few virtual destructors.
Diffstat (limited to 'includes/HttpServer.h')
-rw-r--r--includes/HttpServer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HttpServer.h b/includes/HttpServer.h
index 7dbf912..6c28910 100644
--- a/includes/HttpServer.h
+++ b/includes/HttpServer.h
@@ -44,7 +44,7 @@ class HttpServer {
class Action {
public:
Action(const Regex & regex, const Regex & host = Regexes::any) : m_regex(regex), m_host(host), m_refCount(0) { }
- ~Action() { AAssert(m_refCount == 0, "Don't delete an Action directly"); }
+ virtual ~Action() { AAssert(m_refCount == 0, "Don't delete an Action directly"); }
struct ActionMatch {
Regex::Captures uri, host;
};