Sdk: Fix compilation

This commit is contained in:
Lynix 2017-05-13 20:00:15 +02:00
parent 4a0cb4e1f1
commit 3d25501f9f
1 changed files with 2 additions and 2 deletions

View File

@ -37,14 +37,14 @@ namespace Ndk
BaseComponent& operator=(BaseComponent&&) = default;
protected:
BaseComponent(const BaseComponent&) = default;
ComponentIndex m_componentIndex;
EntityHandle m_entity;
static ComponentIndex RegisterComponent(ComponentId id, Factory factoryFunc);
private:
BaseComponent(const BaseComponent&) = default;
virtual void OnAttached();
virtual void OnComponentAttached(BaseComponent& component);
virtual void OnComponentDetached(BaseComponent& component);