From c1b3076e30441ca7741b7c3ac9ce1b7bb1c6e878 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 15 Nov 2016 21:28:58 +0000
Subject: [PATCH] sort set<MVertex*> with MVertexLessThanNum

---
 Mesh/meshGRegionBoundaryRecovery.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Mesh/meshGRegionBoundaryRecovery.cpp b/Mesh/meshGRegionBoundaryRecovery.cpp
index 2e4719a6bb..b13a248845 100644
--- a/Mesh/meshGRegionBoundaryRecovery.cpp
+++ b/Mesh/meshGRegionBoundaryRecovery.cpp
@@ -110,7 +110,7 @@ bool tetgenmesh::reconstructmesh(void *p)
 
   // Get the set of vertices from GRegion.
   {
-    std::set<MVertex*> all;
+    std::set<MVertex*, MVertexLessThanNum> all;
     std::list<GFace*> f = _gr->faces();
     for (std::list<GFace*>::iterator it = f.begin(); it != f.end(); ++it) {
       GFace *gf = *it;
-- 
GitLab