Bugfix: Mac port: check for array size

This commit is contained in:
Hrvoje Jasak 2017-02-13 16:11:19 +00:00
parent 195f5b6094
commit 1b05cb13dc

View file

@ -154,7 +154,7 @@ void Foam::sampledPatch::remapFaces
) )
{ {
// recalculate the cells cut // recalculate the cells cut
if (&faceMap && faceMap.size()) if (!faceMap.empty())
{ {
MeshStorage::remapFaces(faceMap); MeshStorage::remapFaces(faceMap);
} }