Cleanup: use nullptr instead of 0 or NULL

This commit is contained in:
Rubidium
2021-06-16 21:12:08 +02:00
committed by rubidium42
parent a9774f3e34
commit f904aef176
8 changed files with 9 additions and 9 deletions

View File

@@ -309,7 +309,7 @@ bool Convert8bitBooleanCallback(const struct GRFFile *grffile, uint16 cbid, uint
*/
template <size_t Tcnt>
struct GRFFilePropsBase {
GRFFilePropsBase() : local_id(0), grffile(0)
GRFFilePropsBase() : local_id(0), grffile(nullptr)
{
/* The lack of some compilers to provide default constructors complying to the specs
* requires us to zero the stuff ourself. */