diff options
author | 2014-05-19 16:49:03 -0700 | |
---|---|---|
committer | 2014-05-19 22:27:39 -0700 | |
commit | 700a402244a1a423da4f3ba8032459f4b65fa18f (patch) | |
tree | 4c22fcda04d271bd55a37aff30650214af17a90c /runtime/arch/stub_test.cc | |
parent | 047c11adcbcbc0bcf210defdfcbada763961ffee (diff) |
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/arch/stub_test.cc')
-rw-r--r-- | runtime/arch/stub_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/arch/stub_test.cc b/runtime/arch/stub_test.cc index d9bc105b28..32f313ff3b 100644 --- a/runtime/arch/stub_test.cc +++ b/runtime/arch/stub_test.cc @@ -843,7 +843,7 @@ TEST_F(StubTest, AllocObject) { // Use arbitrary large amount for now. static const size_t kMaxHandles = 1000000; - UniquePtr<StackHandleScope<kMaxHandles> > hsp(new StackHandleScope<kMaxHandles>(self)); + std::unique_ptr<StackHandleScope<kMaxHandles>> hsp(new StackHandleScope<kMaxHandles>(self)); std::vector<Handle<mirror::Object>> handles; // Start allocating with 128K |