|
Boost-Commit : |
From: david_at_[hidden]
Date: 2007-12-04 17:19:59
Author: djenkins
Date: 2007-12-04 17:19:58 EST (Tue, 04 Dec 2007)
New Revision: 41705
URL: http://svn.boost.org/trac/boost/changeset/41705
Log:
Fix msvc-9.0 code analysis problem
Text files modified:
trunk/boost/xpressive/proto/context/default.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/xpressive/proto/context/default.hpp
==============================================================================
--- trunk/boost/xpressive/proto/context/default.hpp (original)
+++ trunk/boost/xpressive/proto/context/default.hpp 2007-12-04 17:19:58 EST (Tue, 04 Dec 2007)
@@ -40,9 +40,10 @@
#ifndef BOOST_PROTO_DOXYGEN_INVOKED
#define BOOST_PROTO_DECLTYPE_NESTED_TYPEDEF_TPL_(Nested, Expr)\
BOOST_TYPEOF_NESTED_TYPEDEF_TPL(BOOST_PP_CAT(nested_and_hidden_, Nested), Expr)\
+ static int const sz = sizeof(detail::check_reference(Expr)); \
struct Nested\
: mpl::if_c<\
- 1==sizeof(detail::check_reference(Expr))\
+ 1==sz\
, typename BOOST_PP_CAT(nested_and_hidden_, Nested)::type &\
, typename BOOST_PP_CAT(nested_and_hidden_, Nested)::type\
>\
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