1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Fix ios build

This commit is contained in:
nordsoft 2023-01-19 14:43:20 +04:00
parent 843966119f
commit 5713651e09
3 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,8 @@
VCMI_LIB_NAMESPACE_BEGIN VCMI_LIB_NAMESPACE_BEGIN
class CConnection; class CConnection;
class EnetService;
class EnetConnection;
class PlayerColor; class PlayerColor;
struct StartInfo; struct StartInfo;

View File

@ -10,6 +10,8 @@
#include "CThreadHelper.h" #include "CThreadHelper.h"
#include <thread> #include <thread>
VCMI_LIB_NAMESPACE_BEGIN
EnetConnection::EnetConnection(ENetPeer * _peer): EnetConnection::EnetConnection(ENetPeer * _peer):
peer(_peer) peer(_peer)
{ {
@ -267,3 +269,5 @@ void EnetService::poll()
} }
} }
} }
VCMI_LIB_NAMESPACE_END

View File

@ -20,6 +20,8 @@ VCMI_LIB_NAMESPACE_BEGIN
class CMapInfo; class CMapInfo;
struct CPackForLobby; struct CPackForLobby;
class EnetService;
class EnetConnection;
struct SharedMemory; struct SharedMemory;
struct StartInfo; struct StartInfo;