forked from boostorg/unordered
Unordered: Only pair reference test where it's known to be okay.
[SVN r74845]
This commit is contained in:
1 parent
03245c80ff
commit
b6a6f530c0
1 file changed
+1
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user