From 6fb6cfbb24ef00894331ab9a9ce4ecaaff2d9b3d Mon Sep 17 00:00:00 2001 From: dibenedetto Date: Thu, 3 Sep 2009 14:48:22 +0000 Subject: [PATCH] added const to method. --- vcg/simplex/face/component_polygon.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/simplex/face/component_polygon.h b/vcg/simplex/face/component_polygon.h index b54966be..b62b481c 100644 --- a/vcg/simplex/face/component_polygon.h +++ b/vcg/simplex/face/component_polygon.h @@ -162,7 +162,7 @@ public: char &VFi(const int j){static char z=0; assert(0); return z;}; char &FFi(const int j){static char z=0; assert(0); return z;}; const char &cVFi(const int j){static char z=0; return z;}; - const char &cFFi(const int j){static char z=0; return z;}; + const char &cFFi(const int j) const {static char z=0; return z;}; template void ImportLocal(const LeftF & leftF){ T::ImportLocal(leftF);} void Alloc(const int & ns){T::Alloc(ns);}