summaryrefslogtreecommitdiffstats
path: root/rlz/lib
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/lib')
-rw-r--r--rlz/lib/financial_ping.cc2
-rw-r--r--rlz/lib/rlz_lib_test.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/rlz/lib/financial_ping.cc b/rlz/lib/financial_ping.cc
index c1313d1..48c446e 100644
--- a/rlz/lib/financial_ping.cc
+++ b/rlz/lib/financial_ping.cc
@@ -252,7 +252,7 @@ bool FinancialPing::PingServer(const char* request, std::string* response) {
return false;
// Get the response text.
- scoped_array<char> buffer(new char[kMaxPingResponseLength]);
+ scoped_ptr<char[]> buffer(new char[kMaxPingResponseLength]);
if (buffer.get() == NULL)
return false;
diff --git a/rlz/lib/rlz_lib_test.cc b/rlz/lib/rlz_lib_test.cc
index 86e659c..b5ef72e 100644
--- a/rlz/lib/rlz_lib_test.cc
+++ b/rlz/lib/rlz_lib_test.cc
@@ -524,7 +524,7 @@ TEST_F(RlzLibTest, ClearProductState) {
#if defined(OS_WIN)
template<class T>
class typed_buffer_ptr {
- scoped_array<char> buffer_;
+ scoped_ptr<char[]> buffer_;
public:
typed_buffer_ptr() {