From 8ecd4dc8f27129fdbea635e7c154681e218f45f8 Mon Sep 17 00:00:00 2001 From: cnr-isti-vclab Date: Wed, 27 Sep 2006 08:49:32 +0000 Subject: [PATCH] bug fix, add return type to Init --- vcg/space/index/grid_static_obj.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vcg/space/index/grid_static_obj.h b/vcg/space/index/grid_static_obj.h index 8c34ef49..24385960 100644 --- a/vcg/space/index/grid_static_obj.h +++ b/vcg/space/index/grid_static_obj.h @@ -24,6 +24,9 @@ History $Log: not supported by cvs2svn $ +Revision 1.3 2006/08/23 15:20:14 marfr960 +corrected minor bugs + Revision 1.2 2005/12/02 00:29:00 cignoni updated the templates of BasicGrid @@ -64,7 +67,7 @@ class GridStaticObj : public BasicGrid inline GridStaticObj() { grid = 0; } inline ~GridStaticObj() { if(grid) delete[] grid; } - inline Init(const ObjType &val) + inline void Init(const ObjType &val) { fill(grid,grid+size(),val); }