diff options
author | Ian Rogers <irogers@google.com> | 2014-05-19 16:49:03 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2014-05-19 22:27:39 -0700 |
commit | 700a402244a1a423da4f3ba8032459f4b65fa18f (patch) | |
tree | 4c22fcda04d271bd55a37aff30650214af17a90c /runtime/dex_instruction_visitor_test.cc | |
parent | 047c11adcbcbc0bcf210defdfcbada763961ffee (diff) | |
download | android_art-700a402244a1a423da4f3ba8032459f4b65fa18f.tar.gz android_art-700a402244a1a423da4f3ba8032459f4b65fa18f.tar.bz2 android_art-700a402244a1a423da4f3ba8032459f4b65fa18f.zip |
Now we have a proper C++ library, use std::unique_ptr.
Also remove the Android.libcxx.mk and other bits of stlport compatibility
mechanics.
Change-Id: Icdf7188ba3c79cdf5617672c1cfd0a68ae596a61
Diffstat (limited to 'runtime/dex_instruction_visitor_test.cc')
-rw-r--r-- | runtime/dex_instruction_visitor_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/dex_instruction_visitor_test.cc b/runtime/dex_instruction_visitor_test.cc index 99ad3ed328..c5e63eb06e 100644 --- a/runtime/dex_instruction_visitor_test.cc +++ b/runtime/dex_instruction_visitor_test.cc @@ -17,8 +17,8 @@ #include "dex_instruction_visitor.h" #include <iostream> +#include <memory> -#include "UniquePtrCompat.h" #include "gtest/gtest.h" namespace art { @@ -26,7 +26,7 @@ namespace art { class TestVisitor : public DexInstructionVisitor<TestVisitor> {}; TEST(InstructionTest, Init) { - UniquePtr<TestVisitor> visitor(new TestVisitor); + std::unique_ptr<TestVisitor> visitor(new TestVisitor); } class CountVisitor : public DexInstructionVisitor<CountVisitor> { |