diff options
author | Pixel <pixel@nobis-crew.org> | 2013-01-22 08:29:55 -0800 |
---|---|---|
committer | Pixel <pixel@nobis-crew.org> | 2013-01-22 08:29:55 -0800 |
commit | f40de21e5666be6fa456fedc60584bd672d12c44 (patch) | |
tree | b80497de619e661e246725b1cebcd68533d4e237 /includes/HttpServer.h | |
parent | 107d87dc983f34e4ff23a4db188baa650ac51f98 (diff) |
Removing some more cruft.
Diffstat (limited to 'includes/HttpServer.h')
-rw-r--r-- | includes/HttpServer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/includes/HttpServer.h b/includes/HttpServer.h index 6c28910..55950cb 100644 --- a/includes/HttpServer.h +++ b/includes/HttpServer.h @@ -39,6 +39,9 @@ class HttpServer { String m_type; std::list<String> m_extraHeaders; bool m_flushed; + + Response(const Response &) = delete; + Response & operator=(const Response &) = delete; }; class Action { @@ -56,6 +59,8 @@ class HttpServer { private: const Regex m_regex, m_host; volatile int m_refCount; + Action(const Action &) = delete; + Action & operator=(const Action &) = delete; }; HttpServer() : m_started(false), m_listenerPtr(NULL), m_port(80) { } @@ -82,6 +87,9 @@ class HttpServer { RWLock m_actionsLock; friend class HttpWorker; + + HttpServer(const HttpServer &) = delete; + HttpServer & operator=(const HttpServer &) = delete; }; }; |