diff --git a/Surface_modeling/include/CGAL/Deform_mesh.h b/Surface_modeling/include/CGAL/Deform_mesh.h index 5efb63d571f..25c374ce9f7 100644 --- a/Surface_modeling/include/CGAL/Deform_mesh.h +++ b/Surface_modeling/include/CGAL/Deform_mesh.h @@ -20,6 +20,7 @@ #ifndef CGAL_DEFORM_MESH_H #define CGAL_DEFORM_MESH_H +#include #include #include #include @@ -252,8 +253,15 @@ private: #ifdef CGAL_DEFORM_MESH_USE_EXPERIMENTAL_SCALE std::vector scales; #endif + +#ifndef CGAL_CFG_NO_CPP0X_DELETED_AND_DEFAULT_FUNCTIONS +public: + Deform_mesh(const Self&) = delete; // no copy +#else private: - Deform_mesh(const Self&); + Deform_mesh(const Self&); // no copy +#endif + // Public methods public: