diff options
author | 2014-05-15 16:42:40 -0700 | |
---|---|---|
committer | 2014-05-15 16:50:51 -0700 | |
commit | 507dfdd147c97bfbadebfd63584d094b6a4e7b47 (patch) | |
tree | cce43931b6dcd088cb2932c2491f86116353a27f /runtime/utils.cc | |
parent | 922ddb30982d2597eab634d8b8598bec0eb7d3b7 (diff) |
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/utils.cc')
-rw-r--r-- | runtime/utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/utils.cc b/runtime/utils.cc index c332bdf815..f26b59896b 100644 --- a/runtime/utils.cc +++ b/runtime/utils.cc @@ -25,7 +25,7 @@ #include <unistd.h> -#include "UniquePtr.h" +#include "UniquePtrCompat.h" #include "base/stl_util.h" #include "base/unix_file/fd_file.h" #include "dex_file-inl.h" |