Index: src/DefaultWebRequestWinInet.cpp |
diff --git a/src/DefaultWebRequestWinInet.cpp b/src/DefaultWebRequestWinInet.cpp |
index e571057fcf7efc521eb36c8e91e2070113e6b273..5c415eb315da7cc1a6aa9e0c5359f42b639cbe4f 100644 |
--- a/src/DefaultWebRequestWinInet.cpp |
+++ b/src/DefaultWebRequestWinInet.cpp |
@@ -309,7 +309,7 @@ AdblockPlus::ServerResponse AdblockPlus::DefaultWebRequest::GET( |
ParseResponseHeaders(hRequest, &result); |
- std::auto_ptr<char> outBuffer; |
+ std::unique_ptr<char[]> outBuffer; |
DWORD downloadSize, downloaded; |
// Download the actual response |