From 581496ce446edba513ef54e37a89c3abe99ce659 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 23 Apr 2015 14:25:25 +0200 Subject: [PATCH] Ndk/Entity: Fixed entity moving Former-commit-id: 72dcc713e86d8442de6356162735f437ec22292d --- SDK/src/NDK/Entity.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SDK/src/NDK/Entity.cpp b/SDK/src/NDK/Entity.cpp index 1c051214f..df6199e62 100644 --- a/SDK/src/NDK/Entity.cpp +++ b/SDK/src/NDK/Entity.cpp @@ -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) {