Follow-up to 9cde96993e
use tbb::scallable_allocator for Polygons and ExPolygon::holes to better scale on multiple threads
This commit is contained in:
parent
9cde96993e
commit
b67ad6434d
12 changed files with 28 additions and 27 deletions
|
@ -308,8 +308,8 @@ SCENARIO("Various Clipper operations - t/clipper.t", "[ClipperUtils]") {
|
|||
}
|
||||
}
|
||||
|
||||
template<e_ordering o = e_ordering::OFF, class P, class Tree>
|
||||
double polytree_area(const Tree &tree, std::vector<P> *out)
|
||||
template<e_ordering o = e_ordering::OFF, class P, class P_Alloc, class Tree>
|
||||
double polytree_area(const Tree &tree, std::vector<P, P_Alloc> *out)
|
||||
{
|
||||
traverse_pt<o>(tree, out);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue