From 003e5a01368784ff77deea3595382d2fb79529c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Janiszewski?= Date: Tue, 23 Feb 2021 00:30:45 +0100 Subject: [PATCH] Change include guards --- src/openrct2/ride/VehicleColour.h | 5 +---- src/openrct2/ride/VehicleEntry.h | 5 +---- src/openrct2/world/EntityList.h | 5 +---- 3 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/openrct2/ride/VehicleColour.h b/src/openrct2/ride/VehicleColour.h index 308c7e2d3d..c1fdc67df5 100644 --- a/src/openrct2/ride/VehicleColour.h +++ b/src/openrct2/ride/VehicleColour.h @@ -7,8 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#ifndef VEHICLECOLOUR_H_ -#define VEHICLECOLOUR_H_ +#pragma once #include "../common.h" @@ -24,5 +23,3 @@ struct VehicleColour uint8_t Trim; uint8_t Ternary; }; - -#endif // VEHICLECOLOUR_H_ diff --git a/src/openrct2/ride/VehicleEntry.h b/src/openrct2/ride/VehicleEntry.h index e58657ff4e..d354729f5f 100644 --- a/src/openrct2/ride/VehicleEntry.h +++ b/src/openrct2/ride/VehicleEntry.h @@ -7,8 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#ifndef VEHICLEENTRY_H_ -#define VEHICLEENTRY_H_ +#pragma once #include "../audio/AudioMixer.h" #include "../common.h" @@ -88,5 +87,3 @@ static_assert(sizeof(rct_ride_entry_vehicle) % 4 == 0, "Invalid struct size"); #else static_assert(sizeof(rct_ride_entry_vehicle) % 8 == 0, "Invalid struct size"); #endif - -#endif // VEHICLEENTRY_H_ diff --git a/src/openrct2/world/EntityList.h b/src/openrct2/world/EntityList.h index d7e4de5f1a..90e7aab116 100644 --- a/src/openrct2/world/EntityList.h +++ b/src/openrct2/world/EntityList.h @@ -7,8 +7,7 @@ * OpenRCT2 is licensed under the GNU General Public License version 3. *****************************************************************************/ -#ifndef ENTITYLIST_H_ -#define ENTITYLIST_H_ +#pragma once #include "../common.h" #include "../rct12/RCT12.h" @@ -237,5 +236,3 @@ public: return EntityListIterator_t(std::cend(vec), std::cend(vec)); } }; - -#endif // ENTITYLIST_H_