refactor: replace NULL with nullptr across C++ codebase
Excludes vendored C libs (zlib, Miles, DirectXMath, boost, Iggy).
This commit is contained in:
1 parent
a330ecdcbb
commit
dfb0e3b03e
752 files changed
+5396
-5396
No files matched your search
@@ -17,7 +17,7 @@ ByteArrayOutputStream::ByteArrayOutputStream(unsigned int size) {
|
||||
}
|
||||
|
||||
ByteArrayOutputStream::~ByteArrayOutputStream() {
|
||||
if (buf.data != NULL) delete[] buf.data;
|
||||
if (buf.data != nullptr) delete[] buf.data;
|
||||
}
|
||||
|
||||
// Writes the specified byte to this byte array output stream.
|
||||
|
||||
Reference in new issue
Block a user