summaryrefslogtreecommitdiffstats
path: root/runtime/dex_file_test.cc
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/dex_file_test.cc
parent922ddb30982d2597eab634d8b8598bec0eb7d3b7 (diff)
downloadart-507dfdd147c97bfbadebfd63584d094b6a4e7b47.zip
art-507dfdd147c97bfbadebfd63584d094b6a4e7b47.tar.gz
art-507dfdd147c97bfbadebfd63584d094b6a4e7b47.tar.bz2
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/dex_file_test.cc')
-rw-r--r--runtime/dex_file_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex_file_test.cc b/runtime/dex_file_test.cc
index 9b6859a..86c282e 100644
--- a/runtime/dex_file_test.cc
+++ b/runtime/dex_file_test.cc
@@ -16,7 +16,7 @@
#include "dex_file.h"
-#include "UniquePtr.h"
+#include "UniquePtrCompat.h"
#include "common_runtime_test.h"
namespace art {