|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74836 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-10-08 21:23:25
Author: danieljames
Date: 2011-10-08 21:23:25 EDT (Sat, 08 Oct 2011)
New Revision: 74836
URL: http://svn.boost.org/trac/boost/changeset/74836
Log:
Unordered: Correct fix for old gcc.
Text files modified:
trunk/boost/unordered/detail/allocator_helpers.hpp | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
Modified: trunk/boost/unordered/detail/allocator_helpers.hpp
==============================================================================
--- trunk/boost/unordered/detail/allocator_helpers.hpp (original)
+++ trunk/boost/unordered/detail/allocator_helpers.hpp 2011-10-08 21:23:25 EDT (Sat, 08 Oct 2011)
@@ -172,11 +172,13 @@
\
BOOST_UNORDERED_CHECK_MEMBER(1, 1, name, int base_mixin::*); \
BOOST_UNORDERED_DEFAULT_MEMBER(2, 2); \
- }; \
\
- enum { value = sizeof(choice2::type) == \
- sizeof(impl::test<typename impl::base>(choose())) \
+ enum { value = sizeof(choice2::type) == \
+ sizeof(test<base>(choose())) \
+ }; \
}; \
+ \
+ enum { value = impl::value }; \
}
#endif
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