Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r59345 - trunk/boost/fusion/adapted/class
From: hartmut.kaiser_at_[hidden]
Date: 2010-01-29 10:45:25


Author: hkaiser
Date: 2010-01-29 10:45:24 EST (Fri, 29 Jan 2010)
New Revision: 59345
URL: http://svn.boost.org/trac/boost/changeset/59345

Log:
Fusion: minor fix for adapt_class_named
Text files modified:
   trunk/boost/fusion/adapted/class/adapt_class_named.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/fusion/adapted/class/adapt_class_named.hpp
==============================================================================
--- trunk/boost/fusion/adapted/class/adapt_class_named.hpp (original)
+++ trunk/boost/fusion/adapted/class/adapt_class_named.hpp 2010-01-29 10:45:24 EST (Fri, 29 Jan 2010)
@@ -124,13 +124,13 @@
                                                                                 \
         class_member_proxy& operator=(cref_type val) \
         { \
- obj.BOOST_PP_TUPLE_ELEM(4, 3, xy); \
+ BOOST_PP_TUPLE_ELEM(4, 3, xy); \
             return *this; \
         } \
                                                                                 \
         operator lvalue() \
         { \
- return obj.BOOST_PP_TUPLE_ELEM(4, 2, xy); \
+ return BOOST_PP_TUPLE_ELEM(4, 2, xy); \
         } \
     }; \
                                                                                 \
@@ -143,7 +143,7 @@
                                                                                 \
         static get_type call(fullname const& obj) \
         { \
- return obj.BOOST_PP_TUPLE_ELEM(4, 2, xy); \
+ return BOOST_PP_TUPLE_ELEM(4, 2, xy); \
         } \
                                                                                 \
         static proxy call(fullname& obj) \


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