mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 19:54:07 +00:00
Track inverse attributes more correctly
Rename Size() to size() on EntityList and friends
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user