reg3:: added the missing destructor to hrmap_closed3

This commit is contained in:
Zeno Rogue 2022-08-07 01:42:17 +02:00
parent 1529986d6a
commit e6879ee806
1 changed files with 4 additions and 0 deletions

View File

@ -743,6 +743,10 @@ EX namespace reg3 {
void initialize(int cell_count);
vector<cell*>& allcells() override { return acells; }
~hrmap_closed3() {
clearfrom(getOrigin());
}
subcellshape& get_cellshape(cell *c) override {
if(PURE) return *cgi.heptshape ;
int id = local_id.at(c).second;