mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 22:43:41 +00:00
Fix static/const declaration
This commit is contained in:
@@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
%extend IfcGeom::tree {
|
%extend IfcGeom::tree {
|
||||||
|
|
||||||
static IfcEntityList::ptr vector_to_list(const std::vector<IfcSchema::IfcProduct*>& ps) const {
|
static IfcEntityList::ptr vector_to_list(const std::vector<IfcSchema::IfcProduct*>& ps) {
|
||||||
IfcEntityList::ptr r(new IfcEntityList);
|
IfcEntityList::ptr r(new IfcEntityList);
|
||||||
for (std::vector<IfcSchema::IfcProduct*>::const_iterator it = ps.begin(); it != ps.end(); ++it) {
|
for (std::vector<IfcSchema::IfcProduct*>::const_iterator it = ps.begin(); it != ps.end(); ++it) {
|
||||||
r->push(*it);
|
r->push(*it);
|
||||||
|
|||||||
Reference in New Issue
Block a user