mirror of https://github.com/CGAL/cgal
replace last bind
This commit is contained in:
parent
3882d27076
commit
ea0386c333
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
#include <CGAL/Bbox_3.h>
|
#include <CGAL/Bbox_3.h>
|
||||||
|
|
||||||
#include <boost/bind.hpp>
|
|
||||||
|
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#if TBB_IMPLEMENT_CPP0X
|
#if TBB_IMPLEMENT_CPP0X
|
||||||
# include <tbb/compat/thread>
|
# include <tbb/compat/thread>
|
||||||
|
|
@ -334,7 +332,7 @@ protected:
|
||||||
Spatial_lock_grid_base_3(const Bbox_3 &bbox,
|
Spatial_lock_grid_base_3(const Bbox_3 &bbox,
|
||||||
int num_grid_cells_per_axis)
|
int num_grid_cells_per_axis)
|
||||||
: m_num_grid_cells_per_axis(num_grid_cells_per_axis),
|
: m_num_grid_cells_per_axis(num_grid_cells_per_axis),
|
||||||
m_tls_grids(boost::bind(init_TLS_grid, num_grid_cells_per_axis))
|
m_tls_grids([num_grid_cells_per_axis](){ return init_TLS_grid(num_grid_cells_per_axis); })
|
||||||
{
|
{
|
||||||
set_bbox(bbox);
|
set_bbox(bbox);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue