diff options
author | Rubidium <rubidium@openttd.org> | 2021-06-16 21:12:08 +0200 |
---|---|---|
committer | rubidium42 <rubidium42@users.noreply.github.com> | 2021-06-17 16:18:30 +0200 |
commit | f904aef176b7bde38f27cc9b4f23c55dc13d2ce5 (patch) | |
tree | 2ea8cfd92faf9786275824cf1a5c5be927283601 /src/newgrf_commons.h | |
parent | a9774f3e341812d43427b9e0166b0def08202477 (diff) | |
download | openttd-f904aef176b7bde38f27cc9b4f23c55dc13d2ce5.tar.xz |
Cleanup: use nullptr instead of 0 or NULL
Diffstat (limited to 'src/newgrf_commons.h')
-rw-r--r-- | src/newgrf_commons.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf_commons.h b/src/newgrf_commons.h index ed18aaa9e..ff241369a 100644 --- a/src/newgrf_commons.h +++ b/src/newgrf_commons.h @@ -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. */ |