minor changes

This commit is contained in:
Michele Caini
2017-08-06 16:03:57 +02:00
parent 60838c2b62
commit 742106772f
+1 -1
View File
@@ -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;
}