mirror of https://github.com/OpenMW/openmw.git
Merge branch 'cleanup_detournavigator_includes' into 'master'
Cleanup detournavigator includes See merge request OpenMW/openmw!2281pull/3228/head
commit
823b8ebc22
@ -0,0 +1,17 @@
|
||||
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_GUARDEDNAVMESHCACHEITEM_H
|
||||
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_GUARDEDNAVMESHCACHEITEM_H
|
||||
|
||||
namespace Misc
|
||||
{
|
||||
template <class T>
|
||||
class ScopeGuarded;
|
||||
}
|
||||
|
||||
namespace DetourNavigator
|
||||
{
|
||||
class NavMeshCacheItem;
|
||||
|
||||
using GuardedNavMeshCacheItem = Misc::ScopeGuarded<NavMeshCacheItem>;
|
||||
}
|
||||
|
||||
#endif
|
@ -0,0 +1,13 @@
|
||||
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SHAREDNAVMESHCACHEITEM_H
|
||||
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SHAREDNAVMESHCACHEITEM_H
|
||||
|
||||
#include "guardednavmeshcacheitem.hpp"
|
||||
|
||||
#include <memory>
|
||||
|
||||
namespace DetourNavigator
|
||||
{
|
||||
using SharedNavMeshCacheItem = std::shared_ptr<GuardedNavMeshCacheItem>;
|
||||
}
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue