|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r51346 - sandbox/mirror/boost/mirror/detail
From: chochlik_at_[hidden]
Date: 2009-02-20 05:17:07
Author: matus.chochlik
Date: 2009-02-20 05:17:06 EST (Fri, 20 Feb 2009)
New Revision: 51346
URL: http://svn.boost.org/trac/boost/changeset/51346
Log:
[mirror 0.3.x]
- minor bug fix
Text files modified:
sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp
==============================================================================
--- sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp (original)
+++ sandbox/mirror/boost/mirror/detail/meta_attribs_base.hpp 2009-02-20 05:17:06 EST (Fri, 20 Feb 2009)
@@ -560,8 +560,8 @@
public:
/** Gets the byte-offset of the I-th member
*/
- template <class Class, int I>
- static inline ptrdiff_t offset(Class& instance, mpl::int_<I> pos)
+ template <class Owner, int I>
+ static inline ptrdiff_t offset(Owner& instance, mpl::int_<I> pos)
{
return calculate_offset(
(const unsigned char*)&instance,
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