bug fix, add return type to Init

This commit is contained in:
Paolo Cignoni 2006-09-27 08:49:32 +00:00
parent d1eea25504
commit 8ecd4dc8f2
1 changed files with 4 additions and 1 deletions

View File

@ -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<ObjType, FLT>
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);
}