From 749232665b5df4ff7011299217fe11e83ee44b0b Mon Sep 17 00:00:00 2001 From: "Gunther H. Weber" Date: Thu, 17 Jun 2021 10:54:54 -0700 Subject: [PATCH] Added missing const qualifier --- vtkm/worklet/contourtree_augmented/meshtypes/ContourTreeMesh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vtkm/worklet/contourtree_augmented/meshtypes/ContourTreeMesh.h b/vtkm/worklet/contourtree_augmented/meshtypes/ContourTreeMesh.h index 7c43d5cb6..3e79155bc 100644 --- a/vtkm/worklet/contourtree_augmented/meshtypes/ContourTreeMesh.h +++ b/vtkm/worklet/contourtree_augmented/meshtypes/ContourTreeMesh.h @@ -735,7 +735,7 @@ inline void ContourTreeMesh::MergeWith(ContourTreeMesh& 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;