diff options
Diffstat (limited to 'runtime/os_linux.cc')
-rw-r--r-- | runtime/os_linux.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/os_linux.cc b/runtime/os_linux.cc index e4403d7932..22827891b0 100644 --- a/runtime/os_linux.cc +++ b/runtime/os_linux.cc @@ -40,10 +40,10 @@ File* OS::CreateEmptyFile(const char* name) { } File* OS::OpenFileWithFlags(const char* name, int flags) { - CHECK(name != NULL); + CHECK(name != nullptr); std::unique_ptr<File> file(new File); if (!file->Open(name, flags, 0666)) { - return NULL; + return nullptr; } return file.release(); } |