From 2dfd63ecd0dddb6c46f9153e9e9db07ab2e40af8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Tue, 15 Jul 2014 10:03:57 +0200 Subject: [PATCH] using delete instruction if available trivial bugfix for master --- Surface_modeling/include/CGAL/Deform_mesh.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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: