Compilation fixes related to previous commit

This commit is contained in:
Thomas Krijnen
2014-12-19 12:36:06 +00:00
parent 2a403e240d
commit 3236218aba
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -61,6 +61,7 @@
#include <map>
#include <set>
#include <vector>
#include <limits>
#include <algorithm>
#include <gp_Mat.hxx>
@@ -621,7 +622,7 @@ namespace IfcGeom {
// TODO: Correctly implement destructor for IfcFile
delete ifc_file;
std::vector<Element<P>*>::const_iterator it;
typename std::vector<Element<P>*>::const_iterator it;
for (it = returned_elements.begin(); it != returned_elements.end(); ++ it ) {
delete *it;
}