summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/_httpopcancel.h
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2012-06-18 11:16:58 -0400
committerMonty Brandenberg <monty@lindenlab.com>2012-06-18 11:16:58 -0400
commit46662a3010b2c920ae60b4ca246d56e3caee6f6f (patch)
treec4cd4a420a3b94767fb3e9d5a54288dbf254465c /indra/llcorehttp/_httpopcancel.h
parent252c297bcc0d9ed8e732d86c9c5886cd63c54f8d (diff)
Move dtors for refcounted objects to protected access.
Diffstat (limited to 'indra/llcorehttp/_httpopcancel.h')
-rw-r--r--indra/llcorehttp/_httpopcancel.h4
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