Unordered: Correct fix for old gcc.

[SVN r74836]
This commit is contained in:
Daniel James
2011-10-09 01:23:25 +00:00
parent 8557a30592
commit 2775ae2f2e

View File

@ -172,11 +172,13 @@ namespace boost { namespace unordered { namespace detail {
\
BOOST_UNORDERED_CHECK_MEMBER(1, 1, name, int base_mixin::*); \
BOOST_UNORDERED_DEFAULT_MEMBER(2, 2); \
\
enum { value = sizeof(choice2::type) == \
sizeof(test<base>(choose())) \
}; \
}; \
\
enum { value = sizeof(choice2::type) == \
sizeof(impl::test<typename impl::base>(choose())) \
}; \
enum { value = impl::value }; \
}
#endif