Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51290 - trunk/boost/intrusive/detail
From: igaztanaga_at_[hidden]
Date: 2009-02-17 12:03:11


Author: igaztanaga
Date: 2009-02-17 12:03:10 EST (Tue, 17 Feb 2009)
New Revision: 51290
URL: http://svn.boost.org/trac/boost/changeset/51290

Log:
Ticket #2755: compile error in boost_intrusive 1.38.0: a set of classes with protected destructor
Text files modified:
   trunk/boost/intrusive/detail/mpl.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/intrusive/detail/mpl.hpp
==============================================================================
--- trunk/boost/intrusive/detail/mpl.hpp (original)
+++ trunk/boost/intrusive/detail/mpl.hpp 2009-02-17 12:03:10 EST (Tue, 17 Feb 2009)
@@ -64,7 +64,7 @@
    class false_t { char dummy[2]; };
    static true_t dispatch(U);
    static false_t dispatch(...);
- static T trigger();
+ static const T &trigger();
    public:
    static const bool value = sizeof(dispatch(trigger())) == sizeof(true_t);
 };


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