From a89b2ace77cb079ceab30017f1eb5d87d55168d4 Mon Sep 17 00:00:00 2001 From: cignoni Date: Mon, 30 Nov 2009 10:32:37 +0000 Subject: [PATCH] added some const and inline keywords --- vcg/complex/trimesh/closest.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/vcg/complex/trimesh/closest.h b/vcg/complex/trimesh/closest.h index 5585081a..66bc6c41 100644 --- a/vcg/complex/trimesh/closest.h +++ b/vcg/complex/trimesh/closest.h @@ -167,13 +167,12 @@ namespace vcg { { public: typedef typename MESH_TYPE::VertexType VertexType; - - VertTmark(){} - VertTmark(MESH_TYPE *){} - void UnMarkAll(){} - bool IsMarked(VertexType*) { return false; } - void Mark(VertexType*){} - void SetMesh(void * /*m=0*/) {} + inline VertTmark(){} + inline VertTmark(MESH_TYPE *){} + inline void UnMarkAll() const {} + inline bool IsMarked(VertexType*) const { return false; } + inline void Mark(VertexType*) const {} + inline void SetMesh(void * /*m=0*/) const {} }; //**CLOSEST FUNCTION DEFINITION**//