Fix compilation of SignSetNameAction.hpp

This header was missing some includes that it depends on. Some were included by other headers.
This commit is contained in:
Hielke Morsink committed 2018-06-11 13:29:32 +02:00
1 parent 388c2f9cb6
commit 08035f42f7
1 file changed
+8 -5
+8 -5
View File
@@ -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 <string>
struct SignSetNameAction : public GameActionBase<GAME_COMMAND_SET_SIGN_NAME, GameActionResult>
{
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)
{
}