Index: rlz/win/lib/rlz_lib_win.cc |
diff --git a/rlz/win/lib/rlz_lib_win.cc b/rlz/win/lib/rlz_lib_win.cc |
index bdf6f85e78333a6cfb1426c083a1742440e0cf24..ff36136f69c40836b4bd61aa3afa81de74485d8e 100644 |
--- a/rlz/win/lib/rlz_lib_win.cc |
+++ b/rlz/win/lib/rlz_lib_win.cc |
@@ -12,6 +12,8 @@ |
#include <stddef.h> |
#include <winerror.h> |
+#include <memory> |
+ |
#include "base/win/registry.h" |
#include "rlz/lib/assert.h" |
#include "rlz/lib/rlz_value_store.h" |
@@ -24,7 +26,7 @@ namespace rlz_lib { |
template<class T> |
class typed_buffer_ptr { |
- scoped_ptr<char[]> buffer_; |
+ std::unique_ptr<char[]> buffer_; |
public: |
typed_buffer_ptr() { |