(Entity) Inlined most code

Former-commit-id: 287c7c557263497ba89451dd2d640fcd8522ef3a
This commit is contained in:
Lynix
2015-02-08 17:39:06 +01:00
parent 5fb728d0be
commit d5a8bdca12
3 changed files with 54 additions and 41 deletions

View File

@@ -50,15 +50,8 @@ namespace Ndk
nzUInt64 value;
};
bool operator==(const Id& other) const
{
return value == other.value;
}
bool operator!=(const Id& other) const
{
return !operator==(other);
}
bool operator==(const Id& other) const;
bool operator!=(const Id& other) const;
};
private:
@@ -69,4 +62,6 @@ namespace Ndk
};
}
#include <NDK/Entity.inl>
#endif // NDK_ENTITY_HPP