From 0415b4e2169272f94f4aba9f3d56ec8105831f8b Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Tue, 6 Jan 2015 15:17:07 -0800 Subject: ART: Change InstructionSetFeatures to return unique_ptr This makes clear the ownership of the object. Test: m test-art-host Change-Id: I55fa734f04bc3046d370f4dcf98ce6b17c59e234 --- compiler/common_compiler_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/common_compiler_test.cc') diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index 51bf9ea3bd..2f9164c0e0 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -156,7 +156,7 @@ void CommonCompilerTest::SetUp() { const InstructionSet instruction_set = kRuntimeISA; // Take the default set of instruction features from the build. - instruction_set_features_.reset(InstructionSetFeatures::FromCppDefines()); + instruction_set_features_ = InstructionSetFeatures::FromCppDefines(); runtime_->SetInstructionSet(instruction_set); for (int i = 0; i < Runtime::kLastCalleeSaveType; i++) { -- cgit v1.2.3-59-g8ed1b