Merge: Codechange: Use null pointer literal instead of the NULL macro

This commit is contained in:
Jonathan G Rennison
2019-04-11 18:14:13 +01:00
585 changed files with 6604 additions and 6604 deletions

View File

@@ -26,7 +26,7 @@ struct Dock : DockPool::PoolItem<&_dock_pool> {
TileIndex flat; ///< Position on the map of the flat tile.
Dock *next; ///< Next dock of the given type at this station.
Dock(TileIndex s = INVALID_TILE, TileIndex f = INVALID_TILE) : sloped(s), flat(f), next(NULL) { }
Dock(TileIndex s = INVALID_TILE, TileIndex f = INVALID_TILE) : sloped(s), flat(f), next(nullptr) { }
~Dock() {}