summaryrefslogtreecommitdiff
path: root/indra/llcorehttp/httpheaders.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/httpheaders.h
parent252c297bcc0d9ed8e732d86c9c5886cd63c54f8d (diff)
Move dtors for refcounted objects to protected access.
Diffstat (limited to 'indra/llcorehttp/httpheaders.h')
-rw-r--r--indra/llcorehttp/httpheaders.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llcorehttp/httpheaders.h b/indra/llcorehttp/httpheaders.h
index 0b6d82561b..3449daa3a1 100644
--- a/indra/llcorehttp/httpheaders.h
+++ b/indra/llcorehttp/httpheaders.h
@@ -68,9 +68,10 @@ public:
/// to the instance. A call to @see release() will destroy
/// the instance.
HttpHeaders();
- ~HttpHeaders();
protected:
+ virtual ~HttpHeaders(); // Use release()
+
HttpHeaders(const HttpHeaders &); // Not defined
void operator=(const HttpHeaders &); // Not defined