Modernize codebase by replacing NULL with nullptr
Fixes -Wzero-as-null-pointer-constant warning.
Test: m
Bug: 68236239
Change-Id: I8cb04f9f99be029d7fef13c4c7c77aea515f3d61
diff --git a/base/HidlInternal.cpp b/base/HidlInternal.cpp
index babdac1..7d7e960 100644
--- a/base/HidlInternal.cpp
+++ b/base/HidlInternal.cpp
@@ -153,7 +153,7 @@
for (const auto& path : instrumentationLibPaths) {
DIR *dir = opendir(path.c_str());
- if (dir == 0) {
+ if (dir == nullptr) {
LOG(WARNING) << path << " does not exist. ";
return;
}