From: <phi...@us...> - 2008-01-12 12:16:56
|
Revision: 7517 http://armagetronad.svn.sourceforge.net/armagetronad/?rev=7517&view=rev Author: philippeqc Date: 2008-01-12 04:16:59 -0800 (Sat, 12 Jan 2008) Log Message: ----------- Len can safely be called on const objects Modified Paths: -------------- armagetronad/trunk/armagetronad/src/tools/tPolynomial.h Modified: armagetronad/trunk/armagetronad/src/tools/tPolynomial.h =================================================================== --- armagetronad/trunk/armagetronad/src/tools/tPolynomial.h 2008-01-12 12:09:24 UTC (rev 7516) +++ armagetronad/trunk/armagetronad/src/tools/tPolynomial.h 2008-01-12 12:16:59 UTC (rev 7517) @@ -86,7 +86,7 @@ virtual void toString() const; tPolynomial<T> clamp(REAL min, REAL max, REAL valueOfVariable); - int Len() { + int Len() const{ return coefs.Len(); }; protected: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |