Switch to UniquePtr.
Only one use of scoped_ptr was incorrect (but then again, I spent an afternoon
with valgrind finding and fixing them just last week).
Change-Id: If5ec1c8aa0794a4f652bfd1c0fffccf95facdc40
diff --git a/src/object_bitmap.h b/src/object_bitmap.h
index 3cb1aad..fc9a3a8 100644
--- a/src/object_bitmap.h
+++ b/src/object_bitmap.h
@@ -18,10 +18,10 @@
#include <limits.h>
#include <stdint.h>
+#include "UniquePtr.h"
#include "globals.h"
#include "logging.h"
#include "mem_map.h"
-#include "scoped_ptr.h"
namespace art {
@@ -119,7 +119,7 @@
bool Init(const byte* base, size_t length);
- scoped_ptr<MemMap> mem_map_;
+ UniquePtr<MemMap> mem_map_;
word* words_;