summaryrefslogtreecommitdiffstats
path: root/compiler/elf_fixup.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/elf_fixup.cc')
-rw-r--r--compiler/elf_fixup.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/elf_fixup.cc b/compiler/elf_fixup.cc
index 571a091c8e..404e3f8692 100644
--- a/compiler/elf_fixup.cc
+++ b/compiler/elf_fixup.cc
@@ -17,12 +17,12 @@
#include "elf_fixup.h"
#include <inttypes.h>
+#include <memory>
#include "base/logging.h"
#include "base/stringprintf.h"
#include "elf_file.h"
#include "elf_writer.h"
-#include "UniquePtrCompat.h"
namespace art {
@@ -30,7 +30,7 @@ static const bool DEBUG_FIXUP = false;
bool ElfFixup::Fixup(File* file, uintptr_t oat_data_begin) {
std::string error_msg;
- UniquePtr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg));
+ std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, true, false, &error_msg));
CHECK(elf_file.get() != nullptr) << error_msg;
// Lookup "oatdata" symbol address.