Merge pull request #4463 from lrineau/Polyhedron_demo-fix_mesh_3_plugin-GF

Bug in the demo (mesh_3_plugin)
This commit is contained in:
Laurent Rineau 2020-01-15 17:19:13 +01:00
commit eff864a2a9
1 changed files with 7 additions and 1 deletions

View File

@ -817,7 +817,13 @@ status() const
if(boost::is_convertible<Concurrency_tag, Parallel_tag>::value) {
const WorksharingDataStructureType* ws_ds =
this->get_worksharing_data_structure();
return Mesher_status(approximate_number_of_vertices(Concurrency_tag()),
return Mesher_status(
# if CGAL_CONCURRENT_COMPACT_CONTAINER_APPROXIMATE_SIZE
approximate_number_of_vertices(Concurrency_tag()),
#else
// not thread-safe, but that is not important
approximate_number_of_vertices(CGAL::Sequential_tag()),
#endif
0,
ws_ds->approximate_number_of_enqueued_element());
}