avoid linker errors with >= VS 2015

This commit is contained in:
wmayer
2018-08-09 23:53:12 +02:00
parent 1160e04afe
commit 880c8ccbfd

View File

@@ -87,7 +87,8 @@ Base::BoundBox3d PointKernel::getBoundBox(void)const
{
Base::BoundBox3d bnd;
#ifdef _WIN32
//FIXME: VS 2015 or later causes a linker error
#if defined (_MSC_VER) && (_MSC_VER <= 1800)
// Thread-local bounding boxes
Concurrency::combinable<Base::BoundBox3d> bbs;
// Cannot use a const_point_iterator here as it is *not* a proper iterator (fails the for_each template)