summaryrefslogtreecommitdiffstats
path: root/runtime/common_runtime_test.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-05-15 16:42:40 -0700
committerIan Rogers <irogers@google.com>2014-05-15 16:50:51 -0700
commit507dfdd147c97bfbadebfd63584d094b6a4e7b47 (patch)
treecce43931b6dcd088cb2932c2491f86116353a27f /runtime/common_runtime_test.h
parent922ddb30982d2597eab634d8b8598bec0eb7d3b7 (diff)
downloadart-507dfdd147c97bfbadebfd63584d094b6a4e7b47.tar.gz
art-507dfdd147c97bfbadebfd63584d094b6a4e7b47.tar.bz2
art-507dfdd147c97bfbadebfd63584d094b6a4e7b47.zip
Compatibility layer to transition from UniquePtr to std::unique_ptr.
Use ART_WITH_STLPORT (enabled for the target) to cause the use of UniquePtr, for the host switch to std::unique_ptr. For now the type remains called UniquePtr. Make dalvik compile with clang on the host, move its build to C++11. Change-Id: I5ba8d2757904bc089ed62047ea03de3c0853fb12
Diffstat (limited to 'runtime/common_runtime_test.h')
-rw-r--r--runtime/common_runtime_test.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/common_runtime_test.h b/runtime/common_runtime_test.h
index 79d36901df..d7a166719a 100644
--- a/runtime/common_runtime_test.h
+++ b/runtime/common_runtime_test.h
@@ -47,7 +47,7 @@
#include "ScopedLocalRef.h"
#include "thread.h"
#include "utils.h"
-#include "UniquePtr.h"
+#include "UniquePtrCompat.h"
#include "verifier/method_verifier.h"
#include "verifier/method_verifier-inl.h"
#include "well_known_classes.h"