]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
gcc 4.7.2 doesn't allow static keyword in member function definition.
authorLars Pensjö <lars.pensjo@gmail.com>
Wed, 20 Mar 2013 06:11:27 +0000 (07:11 +0100)
committerLars Pensjö <lars.pensjo@gmail.com>
Wed, 20 Mar 2013 06:11:27 +0000 (07:11 +0100)
entityx/Entity.h

index 3f96628e80e99b83525aafa7611b57cb09c124ab..0e6d861af120baac389e23e6f37bd3091eeca0a4 100644 (file)
@@ -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;