Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71740 - trunk/boost/proto
From: eric_at_[hidden]
Date: 2011-05-05 12:42:14


Author: eric_niebler
Date: 2011-05-05 12:42:14 EDT (Thu, 05 May 2011)
New Revision: 71740
URL: http://svn.boost.org/trac/boost/changeset/71740

Log:
fix look-up of size_t in virtual_member
Text files modified:
   trunk/boost/proto/extends.hpp | 1 +
   1 files changed, 1 insertions(+), 0 deletions(-)

Modified: trunk/boost/proto/extends.hpp
==============================================================================
--- trunk/boost/proto/extends.hpp (original)
+++ trunk/boost/proto/extends.hpp 2011-05-05 12:42:14 EDT (Thu, 05 May 2011)
@@ -611,6 +611,7 @@
 
             proto_child0 child0() const
             {
+ using std::size_t;
                 return *(This *)((char *)this - BOOST_PROTO_OFFSETOF(This, proto_member_union_start_));
             }
 


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