diff options
author | 2015-08-04 11:18:43 -0700 | |
---|---|---|
committer | 2015-08-04 11:19:56 -0700 | |
commit | b1d8c314b55bb2df2b2bb72a3daaf5db65b7ebc7 (patch) | |
tree | 87e8252ee6ca23138f867989a098b7c4338c21a5 /runtime/parsed_options_test.cc | |
parent | 1d558db0bcd841140f6fe1c6ba2e9a6de131649d (diff) |
Revert "cleanup: Replace pointers with out-parameters and fix-up formatting"
This reverts commit a315f5c546b796f55f4872bb6efc15eb858d9639.
--
Revert "runtime: cleanup class_linker out-parameters and formatting"
This reverts commit bc1d78daa463572c5a770cdca858a3b51d8e1b7b.
--
Revert "base: replace raw pointers for out-parameters with safer out<T>"
This reverts commit fb326cffc679cab8eb873b9e44795706f023cb3c.
Diffstat (limited to 'runtime/parsed_options_test.cc')
-rw-r--r-- | runtime/parsed_options_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/runtime/parsed_options_test.cc b/runtime/parsed_options_test.cc index 81a48a68cf..a8575de425 100644 --- a/runtime/parsed_options_test.cc +++ b/runtime/parsed_options_test.cc @@ -18,7 +18,6 @@ #include <memory> -#include "base/out.h" #include "common_runtime_test.h" namespace art { @@ -61,7 +60,7 @@ TEST_F(ParsedOptionsTest, ParsedOptions) { options.push_back(std::make_pair("exit", test_exit)); RuntimeArgumentMap map; - std::unique_ptr<ParsedOptions> parsed(ParsedOptions::Create(options, false, outof(map))); + std::unique_ptr<ParsedOptions> parsed(ParsedOptions::Create(options, false, &map)); ASSERT_TRUE(parsed.get() != nullptr); ASSERT_NE(0u, map.Size()); @@ -103,7 +102,7 @@ TEST_F(ParsedOptionsTest, ParsedOptionsGc) { options.push_back(std::make_pair("-Xgc:MC", nullptr)); RuntimeArgumentMap map; - std::unique_ptr<ParsedOptions> parsed(ParsedOptions::Create(options, false, outof(map))); + std::unique_ptr<ParsedOptions> parsed(ParsedOptions::Create(options, false, &map)); ASSERT_TRUE(parsed.get() != nullptr); ASSERT_NE(0u, map.Size()); |