Browse Source

minor changes

Michele Caini 8 years ago
parent
commit
742106772f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/component_pool.hpp

+ 1 - 1
src/component_pool.hpp

@@ -23,7 +23,7 @@ public:
     using size_type = typename std::vector<component_type>::size_type;
 
 private:
-    bool valid(entity_type entity) const noexcept {
+    inline bool valid(entity_type entity) const noexcept {
         return entity < reverse.size() && reverse[entity] < direct.size() && direct[reverse[entity]] == entity;
     }