fix copy-constructor of Path::Area class

This commit is contained in:
wmayer
2019-03-03 15:51:07 +01:00
parent a604dab0b8
commit 2b0d3477cb

View File

@@ -188,7 +188,7 @@ Area::Area(const Area &other, bool deep_copy)
myShape = other.myShape;
myShapeDone = other.myShapeDone;
mySections.reserve(other.mySections.size());
for(shared_ptr<Area> area:mySections)
for(shared_ptr<Area> area:other.mySections)
mySections.push_back(make_shared<Area>(*area,true));
}