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/space.h b/src/space.h
index 24bcefa..1715a87 100644
--- a/src/space.h
+++ b/src/space.h
@@ -3,11 +3,11 @@
#ifndef ART_SRC_SPACE_H_
#define ART_SRC_SPACE_H_
+#include "UniquePtr.h"
#include "globals.h"
#include "image.h"
#include "macros.h"
#include "mem_map.h"
-#include "scoped_ptr.h"
namespace art {
@@ -88,7 +88,7 @@
// TODO: have a Space subclass for image Spaces with image_header_
ImageHeader* image_header_;
- scoped_ptr<MemMap> mem_map_;
+ UniquePtr<MemMap> mem_map_;
byte* base_;