Add no-op collect_garbage(visitor) method for backwards compatibility

This commit is contained in:
JacksonCampolattaro 2023-09-16 18:22:38 +02:00
parent ce2c7a9ef5
commit 48b502e5bb
1 changed files with 5 additions and 3 deletions

View File

@ -1272,9 +1272,11 @@ public:
// todo: this should compress the array
}
// //undocumented convenience function that allows to get old-index->new-index information
// template <typename Visitor>
// void collect_garbage(Visitor& visitor);
// undocumented convenience function that allows to get old-index->new-index information
template <typename Visitor>
void collect_garbage(Visitor& visitor) {
// todo: this should compress the array and remap indices
}
/// controls the recycling or not of simplices previously marked as removed
/// upon addition of new elements.