Fix use of tbb::atomic

I misread the TBB documentation: the constructor of `tbb::atomic` is
only available since C++11. Otherwise, it has to be
default-initialized, and then assigned.
This commit is contained in:
Laurent Rineau 2018-07-24 12:06:53 +02:00
parent 98bf6284fd
commit 777bfab1d0
1 changed files with 1 additions and 1 deletions

View File

@ -723,9 +723,9 @@ public:
Auto_worksharing_ds(const Bbox_3 &bbox)
: NUM_WORK_ITEMS_PER_BATCH(
Concurrent_mesher_config::get().num_work_items_per_batch)
, m_cache_number_of_tasks(0)
{
set_bbox(bbox);
m_cache_number_of_tasks = 0;
}
/// Destructor