|
Boost-Commit : |
From: steven_at_[hidden]
Date: 2008-07-08 22:17:13
Author: steven_watanabe
Date: 2008-07-08 22:17:13 EDT (Tue, 08 Jul 2008)
New Revision: 47254
URL: http://svn.boost.org/trac/boost/changeset/47254
Log:
Pathscale-proof unscale.cpp
Text files modified:
trunk/boost/units/detail/unscale.hpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
Modified: trunk/boost/units/detail/unscale.hpp
==============================================================================
--- trunk/boost/units/detail/unscale.hpp (original)
+++ trunk/boost/units/detail/unscale.hpp 2008-07-08 22:17:13 EDT (Tue, 08 Jul 2008)
@@ -157,9 +157,10 @@
struct apply
{
typedef one type;
- static type value()
+ static one value()
{
- return(type());
+ one result;
+ return(result);
}
};
};
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