diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2015-06-29 17:19:51 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2015-06-29 17:19:51 -0400 |
commit | 80d17b2dd9cdd7a9445480fdb0e12774396751eb (patch) | |
tree | 3129fbbcf7c35ca366e5ee64039fbe03b3050979 /indra/llcorehttp | |
parent | 76cb1fcf0b5b9d8415e2517c482bab0c6c6602fb (diff) |
MAINT-4952: Use IntrusivePtr for BufferArray,HttpHeaders,HttpOptions.
Specifically, change the ptr_t typedefs for these LLCore classes to use
IntrusivePtr rather than directly using boost::intrusive_ptr. This allows us
to use a simple ptr_t(raw ptr) constructor rather than having to remember to
code ptr_t(raw ptr, false) everywhere. In fact, the latter form is now invalid:
remove the now-extraneous 'false' constructor parameters.
Diffstat (limited to 'indra/llcorehttp')
-rwxr-xr-x | indra/llcorehttp/bufferarray.h | 2 | ||||
-rwxr-xr-x | indra/llcorehttp/httpheaders.h | 2 | ||||
-rwxr-xr-x | indra/llcorehttp/httpoptions.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcorehttp/bufferarray.h b/indra/llcorehttp/bufferarray.h index 076f341736..320adf2b8b 100755 --- a/indra/llcorehttp/bufferarray.h +++ b/indra/llcorehttp/bufferarray.h @@ -74,7 +74,7 @@ public: BufferArray(); - typedef boost::intrusive_ptr<BufferArray> ptr_t; + typedef LLCoreInt::IntrusivePtr<BufferArray> ptr_t; protected: virtual ~BufferArray(); // Use release() diff --git a/indra/llcorehttp/httpheaders.h b/indra/llcorehttp/httpheaders.h index 51bd76a01d..8f14568fa3 100755 --- a/indra/llcorehttp/httpheaders.h +++ b/indra/llcorehttp/httpheaders.h @@ -92,7 +92,7 @@ public: /// the instance. HttpHeaders(); - typedef boost::intrusive_ptr<HttpHeaders> ptr_t; + typedef LLCoreInt::IntrusivePtr<HttpHeaders> ptr_t; protected: virtual ~HttpHeaders(); // Use release() diff --git a/indra/llcorehttp/httpoptions.h b/indra/llcorehttp/httpoptions.h index 21ecff85af..2fe05a65ff 100755 --- a/indra/llcorehttp/httpoptions.h +++ b/indra/llcorehttp/httpoptions.h @@ -60,7 +60,7 @@ class HttpOptions : public LLCoreInt::RefCounted public: HttpOptions(); - typedef boost::intrusive_ptr<HttpOptions> ptr_t; + typedef LLCoreInt::IntrusivePtr<HttpOptions> ptr_t; protected: virtual ~HttpOptions(); // Use release() |