From 21eff4fb5e0a188d0874f155e041d3f4fd729dd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Wed, 23 Aug 2023 14:03:48 +0200 Subject: [PATCH] Avoid call of pure virtual function --- src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh b/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh index cbf6420f..81d5917d 100644 --- a/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh +++ b/src/OpenMesh/Tools/Subdivider/Uniform/SubdividerT.hh @@ -167,7 +167,7 @@ protected: /// \name Overload theses methods //@{ /// Prepare mesh, e.g. add properties - virtual bool prepare( MeshType& _m ) = 0; + virtual bool prepare( MeshType& /*_m*/ ) { return true; }; /// Subdivide mesh \c _m \c _n times virtual bool subdivide( MeshType& _m, size_t _n, const bool _update_points = true) = 0;