diff --git a/Mesh/Generator.cpp b/Mesh/Generator.cpp
index 1f750f869d948d9d39f223c1dd97ced91e77b222..207266daca779070057a12316c6cf814f5f2e465 100644
--- a/Mesh/Generator.cpp
+++ b/Mesh/Generator.cpp
@@ -456,7 +456,7 @@ static void Mesh2D(GModel *m)
           nbPending++;
         }
       }
-      for(std::set<GFace*>::iterator = cf.begin(); it != cf.end(); ++it){
+      for(std::set<GFace*>::iterator it = cf.begin(); it != cf.end(); ++it){
         if ((*it)->meshStatistics.status == GFace::PENDING){
           mesher(*it);
           nbPending++;