polylib: use tbb::scalable_allocator for winding std::vector storage

This commit is contained in:
Eric Wasylishen 2022-08-09 00:23:43 -06:00
parent f3b9de57c6
commit 55bdc88f9d
1 changed files with 3 additions and 1 deletions

View File

@ -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