1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-07-06 21:51:35 +00:00

Add missing includes and type cast

This commit is contained in:
Herman Yanush 2024-10-19 05:05:12 +03:00
parent 49be5b6405
commit a877ccd5d2
3 changed files with 3 additions and 1 deletions

View file

@ -104,7 +104,7 @@ struct ScriptFunctionPointer : public ScriptIdentity
constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr((void*)(addr)) {}
#else
template<typename R, typename... Types>
constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr(addr) {}
constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr((void*)(addr)) {}
#endif
};

View file

@ -1,6 +1,7 @@
#ifndef GAME_STATE_CHARACTERMANAGER_H
#define GAME_STATE_CHARACTERMANAGER_H
#include <list>
#include <boost/filesystem/path.hpp>
#include "character.hpp"

View file

@ -6,6 +6,7 @@
#include <boost/filesystem/fstream.hpp>
#include <components/debug/debuglog.hpp>
#include <memory>
namespace osgMyGUI
{