From fc6483307b59f5403278ae79f3a0f33cf1aaa517 Mon Sep 17 00:00:00 2001 From: cignoni Date: Tue, 23 Feb 2010 16:45:45 +0000 Subject: [PATCH] added a missing cVFi() --- vcg/simplex/vertex/component.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vcg/simplex/vertex/component.h b/vcg/simplex/vertex/component.h index b3627229..4b11bf81 100644 --- a/vcg/simplex/vertex/component.h +++ b/vcg/simplex/vertex/component.h @@ -584,9 +584,10 @@ private: template class EmptyVFAdj: public T { public: typename T::FacePointer &VFp() { static typename T::FacePointer fp=0; assert(0); return fp; } - typename T::FacePointer cVFp() { static typename T::FacePointer fp=0; assert(0); return fp; } + typename T::FacePointer cVFp() const { static typename T::FacePointer fp=0; assert(0); return fp; } int &VFi(){static int z=0; return z;}; - template < class LeftV> + int cVFi() const {static int z=0; return z;}; + template < class LeftV> void ImportLocal(const LeftV & left ) { T::ImportLocal( left); } static bool HasVFAdjacency() { return false; } static bool HasVFAdjacencyOcc() { return false; }