polylib: use tbb::scalable_allocator for winding std::vector storage
This commit is contained in:
parent
f3b9de57c6
commit
55bdc88f9d
|
|
@ -14,6 +14,8 @@
|
|||
#include <stdexcept>
|
||||
#include <optional>
|
||||
|
||||
#include <tbb/scalable_allocator.h>
|
||||
|
||||
namespace polylib
|
||||
{
|
||||
|
||||
|
|
@ -202,7 +204,7 @@ public:
|
|||
struct winding_storage_heap_t
|
||||
{
|
||||
protected:
|
||||
std::vector<qvec3d> values {};
|
||||
std::vector<qvec3d, tbb::scalable_allocator<qvec3d>> values{};
|
||||
|
||||
public:
|
||||
// default constructor does nothing
|
||||
|
|
|
|||
Loading…
Reference in New Issue