Unordered: Only pair reference test where it's known to be okay.

[SVN r74845]
This commit is contained in:
Daniel James
2011-10-09 11:53:38 +00:00
parent 03245c80ff
commit b6a6f530c0

View File

@ -357,8 +357,7 @@ namespace unnecessary_copy_tests
#if (defined(__GNUC__) && __GNUC__ > 4) || \
(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 2) || \
(defined(BOOST_MSVC) && BOOST_MSVC >= 1600 ) || \
(!defined(__GNUC__) && !defined(BOOST_MSVC))
(defined(BOOST_MSVC) && BOOST_MSVC >= 1600 )
count_copies part;
reset();
std::pair<count_copies const&, count_copies const&> a_ref(part, part);