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 4c093c7738..55ee18e8d9 100644
--- a/compiler/elf_writer.cc
+++ b/compiler/elf_writer.cc
@@ -43,7 +43,7 @@ void ElfWriter::GetOatElfInformation(File* file,
size_t& oat_data_offset) {
std::string error_msg;
std::unique_ptr<ElfFile> elf_file(ElfFile::Open(file, false, false, &error_msg));
- CHECK(elf_file.get() != NULL) << error_msg;
+ CHECK(elf_file.get() != nullptr) << error_msg;
oat_loaded_size = elf_file->GetLoadedSize();
CHECK_NE(0U, oat_loaded_size);