From 7c8e7c6b6e16d4a26259a676db32d8776b99817e Mon Sep 17 00:00:00 2001 From: Henry Wilson Date: Wed, 10 Apr 2019 22:07:06 +0100 Subject: Codechange: Use null pointer literal instead of the NULL macro --- src/base_station_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/base_station_base.h') diff --git a/src/base_station_base.h b/src/base_station_base.h index 8af01f8a7..d7a67bd65 100644 --- a/src/base_station_base.h +++ b/src/base_station_base.h @@ -220,7 +220,7 @@ struct SpecializedStation : public BaseStation { */ static inline T *GetIfValid(size_t index) { - return IsValidID(index) ? Get(index) : NULL; + return IsValidID(index) ? Get(index) : nullptr; } /** -- cgit v1.2.3-54-g00ecf