diff options
| author | Nils Maier <maierman@web.de> | 2013-08-20 18:57:17 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2013-08-20 21:28:24 +0200 |
| commit | d8f44ef4f6c5ad86b08658ecba41a84b775b6e69 (patch) | |
| tree | d149687d1dc46fbd641735d71551e5990080e1fb /src/IOFile.cc | |
| parent | 9da17424c62ebabf7c407695e6990cdd9820ebc9 (diff) | |
Convert most 0/NULL pointers to nullptr
Courtesy of llvm cpp11-migrate 3.3
Diffstat (limited to 'src/IOFile.cc')
| -rw-r--r-- | src/IOFile.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IOFile.cc b/src/IOFile.cc index 5088f584..3cf01c69 100644 --- a/src/IOFile.cc +++ b/src/IOFile.cc @@ -50,7 +50,7 @@ const char IOFile::APPEND[] = "ab"; IOFile::operator unspecified_bool_type() const { bool ok = isOpen() && !isError(); - return ok ? &IOFile::goodState : 0; + return ok ? &IOFile::goodState : nullptr; } size_t IOFile::read(void* ptr, size_t count) |
