Follow-up to bdb8c3729f
Fixing ExtrusionEntityCollection append move operator (fixing double destruction of ExtrusionEntityCollections)
This commit is contained in:
parent
08c6e4faec
commit
5c8ff73fb1
1 changed files with 3 additions and 0 deletions
|
@ -68,6 +68,9 @@ public:
|
|||
entities.insert(entities.end(),
|
||||
std::make_move_iterator(src.begin()),
|
||||
std::make_move_iterator(src.end()));
|
||||
// Removing pointers to polymorphic extrusions from the donor object
|
||||
// so that they will not be deleted twice.
|
||||
src.clear();
|
||||
}
|
||||
}
|
||||
void append(const ExtrusionPaths &paths) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue