Ndk/Entity: Fixed entity moving

Former-commit-id: 72dcc713e86d8442de6356162735f437ec22292d
This commit is contained in:
Lynix 2015-04-23 14:25:25 +02:00
parent 8c5101efda
commit 581496ce44
1 changed files with 3 additions and 0 deletions

View File

@ -9,8 +9,11 @@
namespace Ndk
{
Entity::Entity(Entity&& entity) :
m_components(std::move(entity.m_components)),
m_handles(std::move(entity.m_handles)),
m_id(entity.m_id),
m_componentBits(std::move(entity.m_componentBits)),
m_systemBits(std::move(entity.m_systemBits)),
m_world(entity.m_world),
m_valid(entity.m_valid)
{