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/_httpoperation.h | |
parent | 252c297bcc0d9ed8e732d86c9c5886cd63c54f8d (diff) |
Move dtors for refcounted objects to protected access.
Diffstat (limited to 'indra/llcorehttp/_httpoperation.h')
-rw-r--r-- | indra/llcorehttp/_httpoperation.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/indra/llcorehttp/_httpoperation.h b/indra/llcorehttp/_httpoperation.h index de4939a0ac..5823c08c7b 100644 --- a/indra/llcorehttp/_httpoperation.h +++ b/indra/llcorehttp/_httpoperation.h @@ -73,7 +73,9 @@ class HttpOperation : public LLCoreInt::RefCounted { public: HttpOperation(); - virtual ~HttpOperation(); + +protected: + virtual ~HttpOperation(); // Use release() private: HttpOperation(const HttpOperation &); // Not defined @@ -131,6 +133,8 @@ class HttpOpStop : public HttpOperation { public: HttpOpStop(); + +protected: virtual ~HttpOpStop(); private: @@ -152,6 +156,8 @@ class HttpOpNull : public HttpOperation { public: HttpOpNull(); + +protected: virtual ~HttpOpNull(); private: |