|
From: Matthias S. <mat...@us...> - 2007-03-29 22:43:48
|
Update of /cvsroot/boost-sandbox/boost-sandbox/boost/units In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv21975 Modified Files: quantity.hpp Log Message: remove mutating value() in dimensionless quantity specialization Index: quantity.hpp =================================================================== RCS file: /cvsroot/boost-sandbox/boost-sandbox/boost/units/quantity.hpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- quantity.hpp 29 Mar 2007 19:19:54 -0000 1.8 +++ quantity.hpp 29 Mar 2007 22:43:48 -0000 1.9 @@ -213,7 +213,6 @@ /// implicit conversion to @c value_type is allowed operator value_type() const { return val_; } - value_type& value() { return val_; } ///< mutating accessor to value value_type value() const { return val_; } ///< constant accessor to value // can add or subtract same quantity type |