summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/bufferarray.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/bufferarray.h
parent252c297bcc0d9ed8e732d86c9c5886cd63c54f8d (diff)
Move dtors for refcounted objects to protected access.
Diffstat (limited to 'indra/llcorehttp/bufferarray.h')
-rw-r--r--indra/llcorehttp/bufferarray.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llcorehttp/bufferarray.h b/indra/llcorehttp/bufferarray.h
index d3862b45e1..d0c51d3c73 100644
--- a/indra/llcorehttp/bufferarray.h
+++ b/indra/llcorehttp/bufferarray.h
@@ -66,7 +66,9 @@ class BufferArray : public LLCoreInt::RefCounted
{
public:
BufferArray();
- virtual ~BufferArray();
+
+protected:
+ virtual ~BufferArray(); // Use release()
private:
BufferArray(const BufferArray &); // Not defined