Tidy up some C-isms.
Change-Id: I53b457cab9067369320457549071fc3e4c23c81b
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 656032b..1edfe1a 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -1686,7 +1686,7 @@
return *dex_files_[i];
}
}
- CHECK(false) << "Failed to find DexFile for DexCache " << dex_cache->GetLocation()->ToModifiedUtf8();
+ LOG(FATAL) << "Failed to find DexFile for DexCache " << dex_cache->GetLocation()->ToModifiedUtf8();
return *dex_files_[-1];
}
@@ -1697,7 +1697,7 @@
return dex_caches_[i];
}
}
- CHECK(false) << "Failed to find DexCache for DexFile " << dex_file.GetLocation();
+ LOG(FATAL) << "Failed to find DexCache for DexFile " << dex_file.GetLocation();
return NULL;
}