summaryrefslogtreecommitdiff
path: root/compiler/elf_writer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/elf_writer.cc')
-rw-r--r--compiler/elf_writer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/elf_writer.cc b/compiler/elf_writer.cc
index ccc26a1baf..4c093c7738 100644
--- a/compiler/elf_writer.cc
+++ b/compiler/elf_writer.cc
@@ -42,7 +42,7 @@ void ElfWriter::GetOatElfInformation(File* file,
size_t& oat_loaded_size,
size_t& oat_data_offset) {
std::string error_msg;
- UniquePtr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg));
+ std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg));
CHECK(elf_file.get() != NULL) << error_msg;
oat_loaded_size = elf_file->GetLoadedSize();