Ndk: Fixed warnings

Former-commit-id: 64509f0d59d83f4c04a09fe7e7913d94a940f191
This commit is contained in:
Lynix
2015-05-04 13:52:37 +02:00
parent 385b7fc3fd
commit 5e954113ef
7 changed files with 23 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ namespace Ndk
~ListenerComponent() = default;
bool IsActive() const;
bool SetActive(bool active = true);
void SetActive(bool active = true);
static ComponentIndex componentIndex;

View File

@@ -14,7 +14,7 @@ namespace Ndk
return m_isActive;
}
inline bool ListenerComponent::SetActive(bool active)
inline void ListenerComponent::SetActive(bool active)
{
m_isActive = active;
}