Track inverse attributes more correctly

Rename Size() to size() on EntityList and friends
This commit is contained in:
Thomas Krijnen
2015-01-10 22:13:52 +00:00
parent 1d319f7ac4
commit 8581fed39b
22 changed files with 396 additions and 402 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ public:
template <class T>
T* getSingle() {
typename T::list::ptr ts = EntitiesByType<T>();
if (ts->Size() != 1) return 0;
if (ts->size() != 1) return 0;
return *ts->begin();
}