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/mark_stack.h b/src/mark_stack.h
index 79026cc..f8beaff 100644
--- a/src/mark_stack.h
+++ b/src/mark_stack.h
@@ -3,10 +3,10 @@
#ifndef ART_SRC_MARK_STACK_H_
#define ART_SRC_MARK_STACK_H_
+#include "UniquePtr.h"
#include "logging.h"
#include "macros.h"
#include "mem_map.h"
-#include "scoped_ptr.h"
namespace art {
@@ -44,7 +44,7 @@
bool Init();
// Memory mapping of the mark stack.
- scoped_ptr<MemMap> mem_map_;
+ UniquePtr<MemMap> mem_map_;
// Base of the mark stack.
const Object* const* base_;