More VS fixes (huehue)
Former-commit-id: 2c3e910d0bdf1c701b4643b4958150e7a0b8492a
This commit is contained in:
parent
f4c3ec51ed
commit
9670d9f3f9
|
|
@ -87,7 +87,7 @@ namespace Ndk
|
||||||
template<typename SystemType>
|
template<typename SystemType>
|
||||||
bool World::HasSystem() const
|
bool World::HasSystem() const
|
||||||
{
|
{
|
||||||
static_assert(std::is_base_of<BaseSystem, SystemType>(), "SystemType is not a component");
|
static_assert(std::is_base_of<BaseSystem, SystemType>::value, "SystemType is not a component");
|
||||||
|
|
||||||
SystemIndex index = GetSystemIndex<SystemType>();
|
SystemIndex index = GetSystemIndex<SystemType>();
|
||||||
return HasSystem(index);
|
return HasSystem(index);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue