aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--entityx/Entity.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/entityx/Entity.h b/entityx/Entity.h
index 3f96628..0e6d861 100644
--- a/entityx/Entity.h
+++ b/entityx/Entity.h
@@ -522,7 +522,7 @@ class EntityManager : boost::noncopyable {
};
template <typename C>
-static BaseComponent::Family Component<C>::family() {
+BaseComponent::Family Component<C>::family() {
static Family family = family_counter_++;
assert(family < EntityManager::MAX_COMPONENTS);
return family;