template compile error
Hi
When building under Linux (gcc 4.8.5) I'm getting this:
In file included from /FbxExporter-master/Plugin/MeshUtils/MeshUtils.h:12:0, from /FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:2:
/FbxExporter-master/Plugin/MeshUtils/muConcurrency.h: In instantiation of ‘void mu::parallel_for(int, int, int, const Body&) [with Body = mu::QuadifyTriangles(IArray<mu::tvec3
>, IArray , bool, float, RawVector &, RawVector &)::__lambda10]’: /FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:318:6: required from here /FbxExporter-master/Plugin/MeshUtils/muConcurrency.h:53:20: error: no match for call to ‘(const mu::QuadifyTriangles(IArray<mu::tvec3
>, IArray , bool, float, RawVector &, RawVector &)::__lambda10) (int&, int&)’ body(begin, end); images/personal/industrial/kiln/working/FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:234:44: note: candidate is: parallel_for(0, num_triangles, 8192, [&](int ti1) { /FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:234:53: note: mu::QuadifyTriangles(IArray<mu::tvec3 >, IArray , bool, float, RawVector &, RawVector &)::__lambda10 parallel_for(0, num_triangles, 8192, [&](int ti1) { /FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:234:53: note: candidate expects 1 argument, 2 provided
Any ideas?
Thanks