Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-07-04 23:29:31


Author: steven_watanabe
Date: 2008-07-04 23:29:31 EDT (Fri, 04 Jul 2008)
New Revision: 47086
URL: http://svn.boost.org/trac/boost/changeset/47086

Log:
Hopefully make scale.hpp compile on pathscale
Text files modified:
   trunk/boost/units/scale.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/units/scale.hpp
==============================================================================
--- trunk/boost/units/scale.hpp (original)
+++ trunk/boost/units/scale.hpp 2008-07-04 23:29:31 EDT (Fri, 04 Jul 2008)
@@ -49,9 +49,9 @@
     static const long base = Base;
     typedef static_rational<0> exponent;
     typedef one value_type;
- static one value() { return(one()); }
- static std::string name() { return(std::string()); }
- static std::string symbol() { return(std::string()); }
+ static one value() { one result; return(result); }
+ static std::string name() { return(""); }
+ static std::string symbol() { return(""); }
 };
 
 template<long Base>


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk