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.h b/src/object.h
index 2d07bd5..438b587 100644
--- a/src/object.h
+++ b/src/object.h
@@ -3,6 +3,7 @@
#ifndef ART_SRC_OBJECT_H_
#define ART_SRC_OBJECT_H_
+#include "UniquePtr.h"
#include "casts.h"
#include "constants.h"
#include "globals.h"
@@ -739,7 +740,7 @@
private:
// Compiled code associated with this method
- scoped_ptr<MemMap> code_area_;
+ UniquePtr<MemMap> code_area_;
const void* code_;
// Instruction set of the compiled code
InstructionSet code_instruction_set_;