Boost logo

Boost-Commit :

From: steven_at_[hidden]
Date: 2008-07-02 21:57:16


Author: steven_watanabe
Date: 2008-07-02 21:57:16 EDT (Wed, 02 Jul 2008)
New Revision: 47024
URL: http://svn.boost.org/trac/boost/changeset/47024

Log:
Pathscale fixes -- round 2
Text files modified:
   trunk/boost/units/detail/one.hpp | 3 ++-
   1 files changed, 2 insertions(+), 1 deletions(-)

Modified: trunk/boost/units/detail/one.hpp
==============================================================================
--- trunk/boost/units/detail/one.hpp (original)
+++ trunk/boost/units/detail/one.hpp 2008-07-02 21:57:16 EDT (Wed, 02 Jul 2008)
@@ -51,7 +51,8 @@
 
 inline one operator*(const one&, const one&)
 {
- return(one());
+ one result;
+ return(result);
 }
 
 template<class T>


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