1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Fix CI build

This commit is contained in:
Ivan Savenko
2023-05-24 02:12:25 +03:00
parent acac42291e
commit e1c01ca636
5 changed files with 11 additions and 1 deletions

View File

@@ -11,7 +11,6 @@
#include "TerrainHandler.h" #include "TerrainHandler.h"
#include "mapObjects/CObjectHandler.h" #include "mapObjects/CObjectHandler.h"
#include "mapping/CMapDefines.h"
#include "CGameState.h" #include "CGameState.h"
VCMI_LIB_NAMESPACE_BEGIN VCMI_LIB_NAMESPACE_BEGIN

View File

@@ -25,6 +25,8 @@ CMapUndoManager::CMapUndoManager() :
{ {
} }
CMapUndoManager::~CMapUndoManager() = default;
void CMapUndoManager::undo() void CMapUndoManager::undo()
{ {
doOperation(undoStack, redoStack, true); doOperation(undoStack, redoStack, true);

View File

@@ -23,6 +23,7 @@ class DLL_LINKAGE CMapUndoManager : boost::noncopyable
{ {
public: public:
CMapUndoManager(); CMapUndoManager();
~CMapUndoManager();
void undo(); void undo();
void redo(); void redo();

View File

@@ -17,6 +17,8 @@
#include "../CGeneralTextHandler.h" #include "../CGeneralTextHandler.h"
#include "../CHeroHandler.h" #include "../CHeroHandler.h"
VCMI_LIB_NAMESPACE_BEGIN
SHeroName::SHeroName() : heroId(-1) SHeroName::SHeroName() : heroId(-1)
{ {
} }
@@ -131,3 +133,5 @@ ui8 CMapHeader::levels() const
{ {
return (twoLevel ? 2 : 1); return (twoLevel ? 2 : 1);
} }
VCMI_LIB_NAMESPACE_END

View File

@@ -10,6 +10,8 @@
#pragma once #pragma once
VCMI_LIB_NAMESPACE_BEGIN
enum class EMapFormat : uint8_t enum class EMapFormat : uint8_t
{ {
INVALID = 0, INVALID = 0,
@@ -22,3 +24,5 @@ enum class EMapFormat : uint8_t
WOG = 0x33, // 51 WOG = 0x33, // 51
VCMI = 0x64 VCMI = 0x64
}; };
VCMI_LIB_NAMESPACE_END