Added missing const qualifier

This commit is contained in:
Gunther H. Weber 2021-06-17 10:54:54 -07:00
parent 32dcd3d0c5
commit 749232665b

@ -735,7 +735,7 @@ inline void ContourTreeMesh<FieldType>::MergeWith(ContourTreeMesh<FieldType>& ot
// ... helper function, basically negates criterion for CopyIf
struct IsUnique
{
VTKM_EXEC_CONT bool operator()(vtkm::IdComponent isInOther) { return isInOther == 0; }
VTKM_EXEC_CONT bool operator()(vtkm::IdComponent isInOther) const { return isInOther == 0; }
};
IdArrayType indicesThisUnique, indicesThisDuplicate;