summaryrefslogtreecommitdiff
path: root/indra/newview/tests
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-07-08 12:44:57 -0700
committerRider Linden <rider@lindenlab.com>2015-07-08 12:44:57 -0700
commit7ff38e34eaea52b4d1b856efa9de685cbdbd28ba (patch)
tree0bcf52027982039d352930d30f00ad73d5839226 /indra/newview/tests
parentfe5567639d7d4b6f13f66da0a1fb4bf2af295283 (diff)
Update the unit tests to use the new pointer type.
Diffstat (limited to 'indra/newview/tests')
-rwxr-xr-xindra/newview/tests/llhttpretrypolicy_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/tests/llhttpretrypolicy_test.cpp b/indra/newview/tests/llhttpretrypolicy_test.cpp
index 25e6de46d9..8bd6cc2690 100755
--- a/indra/newview/tests/llhttpretrypolicy_test.cpp
+++ b/indra/newview/tests/llhttpretrypolicy_test.cpp
@@ -285,10 +285,10 @@ void RetryPolicyTestObject::test<7>()
ensure_approximately_equals_range("header 2", seconds_to_wait, 7.0F, 2.0F);
LLCore::HttpResponse *response;
- LLCore::HttpHeaders *headers;
+ LLCore::HttpHeaders::ptr_t headers;
response = new LLCore::HttpResponse();
- headers = new LLCore::HttpHeaders();
+ headers = LLCore::HttpHeaders::ptr_t(new LLCore::HttpHeaders());
response->setStatus(503);
response->setHeaders(headers);
headers->append(HTTP_IN_HEADER_RETRY_AFTER, std::string("600"));
@@ -299,7 +299,7 @@ void RetryPolicyTestObject::test<7>()
response->release();
response = new LLCore::HttpResponse();
- headers = new LLCore::HttpHeaders();
+ headers = LLCore::HttpHeaders::ptr_t(new LLCore::HttpHeaders());
response->setStatus(503);
response->setHeaders(headers);
time(&nowseconds);