diff --git a/Geo/GModel.h b/Geo/GModel.h
index 21f3764fb1dd81679e3993494dcf93f92622ea57..4595ab2ff5a3d4a6db8d5bf4ec7e02e246294bfd 100644
--- a/Geo/GModel.h
+++ b/Geo/GModel.h
@@ -404,7 +404,6 @@ class GModel
                    double angle);
   GEntity *extrude(GEntity *e, std::vector<double> p1, std::vector<double> p2);
   GEntity *addPipe(GEntity *e, std::vector<GEdge *>  edges);
-  void createBoundaryLayer(std::vector<GEntity *> e, double h);
 
   void addRuledFaces(std::vector<std::vector<GEdge *> > edges);
   GFace *addFace(std::vector<GEdge *> edges, std::vector< std::vector<double > > points);