removed ambiguos call to lambda function compiler errors

This commit is contained in:
133470 2018-01-05 14:58:44 +11:00
parent 8b9f2ee2bd
commit 9b6d34c238
1 changed files with 4 additions and 4 deletions

View File

@ -397,9 +397,9 @@ public:
{
int folded=0;
ForEachFace(m, [&](const FaceType &f){
ForEachFace(m, std::function<void (const FaceType&)>([&folded](const FaceType &f){
if(IsFolded(&f)) folded++;
});
}));
return folded;
}
@ -413,9 +413,9 @@ public:
static ScalarType MeshAngleDistortion(const MeshType &m)
{
ScalarType UDdist=0;
ForEachFace(m, [&](const FaceType &f){
ForEachFace(m, std::function<void (const FaceType&)>([&UDdist](const FaceType &f){
UDdist += AngleDistortion(f)*Area3D(f);
});
}));
return UDdist;
}