More work

This commit is contained in:
achulkov2 2020-02-18 17:06:43 +03:00
parent f9f2a02071
commit 9f8b10189d
2 changed files with 1 additions and 2 deletions

View File

@ -60,7 +60,7 @@ std::unique_ptr<ICell> GridRoot::makeCell(Float64 current_min_x, Float64 current
children.push_back(makeCell(current_min_x, current_min_y, current_min_x + x_shift, current_min_y + y_shift, possible_ids, depth));
}
}
return std::make_unique<DividedCell>(children);
return std::make_unique<DividedCell>(std::move(children));
}
void GridRoot::setBoundingBox()

View File

@ -44,7 +44,6 @@ public:
std::vector<size_t> polygon_ids;
private:
[[nodiscard]] const FinalCell * find(Float64 x, Float64 y) const override;
};