mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-07-06 02:21:37 +00:00
Add missing includes and type cast
This commit is contained in:
parent
49be5b6405
commit
a877ccd5d2
3 changed files with 3 additions and 1 deletions
|
@ -104,7 +104,7 @@ struct ScriptFunctionPointer : public ScriptIdentity
|
||||||
constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr((void*)(addr)) {}
|
constexpr ScriptFunctionPointer(Function<R, Types...> addr) : ScriptIdentity(addr), addr((void*)(addr)) {}
|
||||||
#else
|
#else
|
||||||
template<typename R, typename... Types>
|
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
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#ifndef GAME_STATE_CHARACTERMANAGER_H
|
#ifndef GAME_STATE_CHARACTERMANAGER_H
|
||||||
#define GAME_STATE_CHARACTERMANAGER_H
|
#define GAME_STATE_CHARACTERMANAGER_H
|
||||||
|
|
||||||
|
#include <list>
|
||||||
#include <boost/filesystem/path.hpp>
|
#include <boost/filesystem/path.hpp>
|
||||||
|
|
||||||
#include "character.hpp"
|
#include "character.hpp"
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
#include <boost/filesystem/fstream.hpp>
|
#include <boost/filesystem/fstream.hpp>
|
||||||
|
|
||||||
#include <components/debug/debuglog.hpp>
|
#include <components/debug/debuglog.hpp>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
namespace osgMyGUI
|
namespace osgMyGUI
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue