mirror of https://github.com/CGAL/cgal
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:
parent
98bf6284fd
commit
777bfab1d0
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue