diff options
Diffstat (limited to 'runtime/runtime.cc')
-rw-r--r-- | runtime/runtime.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/runtime.cc b/runtime/runtime.cc index d183cba051..986c09db28 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -27,6 +27,7 @@ #include <cstdio> #include <cstdlib> #include <limits> +#include <memory> #include <vector> #include <fcntl.h> @@ -72,7 +73,6 @@ #include "trace.h" #include "transaction.h" #include "profiler.h" -#include "UniquePtrCompat.h" #include "verifier/method_verifier.h" #include "well_known_classes.h" @@ -502,7 +502,7 @@ void Runtime::StartDaemonThreads() { bool Runtime::Init(const Options& raw_options, bool ignore_unrecognized) { CHECK_EQ(sysconf(_SC_PAGE_SIZE), kPageSize); - UniquePtr<ParsedOptions> options(ParsedOptions::Create(raw_options, ignore_unrecognized)); + std::unique_ptr<ParsedOptions> options(ParsedOptions::Create(raw_options, ignore_unrecognized)); if (options.get() == NULL) { LOG(ERROR) << "Failed to parse options"; return false; |