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/jni_compiler.h b/src/jni_compiler.h
index f1bd4e2..a3b2e53 100644
--- a/src/jni_compiler.h
+++ b/src/jni_compiler.h
@@ -3,11 +3,11 @@
#ifndef ART_SRC_JNI_COMPILER_H_
#define ART_SRC_JNI_COMPILER_H_
+#include "UniquePtr.h"
#include "calling_convention.h"
#include "globals.h"
#include "macros.h"
#include "mem_map.h"
-#include "scoped_ptr.h"
namespace art {
@@ -34,7 +34,7 @@
void* AllocateCode(size_t size);
// Allocated code
- scoped_ptr<MemMap> jni_code_;
+ UniquePtr<MemMap> jni_code_;
// Pointer to the free space
byte* jni_code_top_;