Allowed to enter booleans as arguments, and removed unused line that cause compilation error

This commit is contained in:
Yorik van Havre
2013-12-13 16:22:37 -02:00
parent e936ba8391
commit 88f6242804
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ public:
inline void push(SHARED_PTR< IfcTemplatedEntityList<T> > t) { for ( typename T::it it = t->begin(); it != t->end(); ++it ) push(*it); }
inline it begin() { return ls.begin(); }
inline it end() { return ls.end(); }
inline T operator[] (int i) { return ls[i]; }
//inline T operator[] (int i) { return ls[i]; }
inline unsigned int Size() const { return (unsigned int) ls.size(); }
IfcEntities generalize() {
IfcEntities r (new IfcEntityList());