diff options
author | Monty Brandenberg <monty@lindenlab.com> | 2012-06-18 11:16:58 -0400 |
---|---|---|
committer | Monty Brandenberg <monty@lindenlab.com> | 2012-06-18 11:16:58 -0400 |
commit | 46662a3010b2c920ae60b4ca246d56e3caee6f6f (patch) | |
tree | c4cd4a420a3b94767fb3e9d5a54288dbf254465c /indra/llcorehttp/_httpopcancel.h | |
parent | 252c297bcc0d9ed8e732d86c9c5886cd63c54f8d (diff) |
Move dtors for refcounted objects to protected access.
Diffstat (limited to 'indra/llcorehttp/_httpopcancel.h')
-rw-r--r-- | indra/llcorehttp/_httpopcancel.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpopcancel.h b/indra/llcorehttp/_httpopcancel.h index 6d1e0f8774..4d927d1aaf 100644 --- a/indra/llcorehttp/_httpopcancel.h +++ b/indra/llcorehttp/_httpopcancel.h @@ -51,8 +51,10 @@ class HttpOpCancel : public HttpOperation { public: HttpOpCancel(HttpHandle handle); - virtual ~HttpOpCancel(); +protected: + virtual ~HttpOpCancel(); // Use release() + private: HttpOpCancel(const HttpOpCancel &); // Not defined void operator=(const HttpOpCancel &); // Not defined |