summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/HttpServer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/HttpServer.h b/includes/HttpServer.h
index 2226d23..c2e8992 100644
--- a/includes/HttpServer.h
+++ b/includes/HttpServer.h
@@ -26,7 +26,7 @@ class HttpServer {
~Action() { Assert(m_refCount == 0); }
typedef std::pair<Regex::Captures, Regex::Captures> ActionMatches;
ActionMatches matches(const char * uri, const char * host);
- void unref() { if (Atomic::Prefetch::Decrement(&m_refCount) == 0) delete this; }
+ void unref() { if (Atomic::Decrement(&m_refCount) == 0) delete this; }
void ref() { Atomic::Increment(&m_refCount); }
void registerMe(HttpServer * server) { server->registerAction(this); }
virtual bool Do(HttpServer * server, ActionMatches & m, IO<Handle> out, StringMap & vars, StringMap & headers, FileList & files) = 0;