From 08035f42f75fcd79220153be9c059a7e37d28430 Mon Sep 17 00:00:00 2001 From: Hielke Morsink Date: Sat, 9 Jun 2018 11:27:46 +0200 Subject: [PATCH] Fix compilation of SignSetNameAction.hpp This header was missing some includes that it depends on. Some were included by other headers. --- src/openrct2/actions/SignSetNameAction.hpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/openrct2/actions/SignSetNameAction.hpp b/src/openrct2/actions/SignSetNameAction.hpp index d66845424d..0a73b3920a 100644 --- a/src/openrct2/actions/SignSetNameAction.hpp +++ b/src/openrct2/actions/SignSetNameAction.hpp @@ -17,14 +17,17 @@ #pragma once #include "../Context.h" +#include "../Diagnostic.h" +#include "../common.h" #include "../drawing/Drawing.h" #include "../localisation/Localisation.h" #include "../localisation/StringIds.h" -#include "../ui/UiContext.h" -#include "../world/Sprite.h" +#include "../ride/Ride.h" #include "../world/Banner.h" #include "GameAction.h" +#include + struct SignSetNameAction : public GameActionBase { private: @@ -32,10 +35,10 @@ private: std::string _name; public: - SignSetNameAction() {} + SignSetNameAction() = default; SignSetNameAction(sint32 bannerIndex, const std::string& name) - : _bannerIndex(bannerIndex), - _name(name) + : _bannerIndex(bannerIndex) + , _name(name) { }