Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50447 - trunk/boost/units
From: steven_at_[hidden]
Date: 2009-01-02 22:20:25


Author: steven_watanabe
Date: 2009-01-02 22:20:24 EST (Fri, 02 Jan 2009)
New Revision: 50447
URL: http://svn.boost.org/trac/boost/changeset/50447

Log:
Fix pch problem on msvc-7.1
Text files modified:
   trunk/boost/units/static_constant.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/units/static_constant.hpp
==============================================================================
--- trunk/boost/units/static_constant.hpp (original)
+++ trunk/boost/units/static_constant.hpp 2009-01-02 22:20:24 EST (Fri, 02 Jan 2009)
@@ -24,7 +24,7 @@
                                                             \
 namespace \
 { \
- const type& name = name##_instance_t<true>::instance; \
+ static const type& name = name##_instance_t<true>::instance; \
 } \
                                                             \
 template<bool b> \


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