Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62639 - trunk/boost/thread
From: anthony_at_[hidden]
Date: 2010-06-09 03:52:27


Author: anthonyw
Date: 2010-06-09 03:52:25 EDT (Wed, 09 Jun 2010)
New Revision: 62639
URL: http://svn.boost.org/trac/boost/changeset/62639

Log:
Added unimplemented default constructor to derived to avoid complaints
about the constructors of T in some compilers. Fix for issue #4317

Text files modified:
   trunk/boost/thread/locks.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/locks.hpp
==============================================================================
--- trunk/boost/thread/locks.hpp (original)
+++ trunk/boost/thread/locks.hpp 2010-06-09 03:52:25 EDT (Wed, 09 Jun 2010)
@@ -47,7 +47,9 @@
             struct fallback { int member_name; }; \
             struct derived: \
                 T, fallback \
- {}; \
+ { \
+ derived(); \
+ }; \
                                                                         \
             template<int fallback::*> struct tester; \
                                                                         \


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