mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 20:04:29 +02:00
Unordered: Only pair reference test where it's known to be okay.
[SVN r74845]
This commit is contained in:
@@ -357,8 +357,7 @@ namespace unnecessary_copy_tests
|
|||||||
|
|
||||||
#if (defined(__GNUC__) && __GNUC__ > 4) || \
|
#if (defined(__GNUC__) && __GNUC__ > 4) || \
|
||||||
(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 2) || \
|
(defined(__GNUC__) && __GNUC__ == 4 && __GNUC_MINOR__ > 2) || \
|
||||||
(defined(BOOST_MSVC) && BOOST_MSVC >= 1600 ) || \
|
(defined(BOOST_MSVC) && BOOST_MSVC >= 1600 )
|
||||||
(!defined(__GNUC__) && !defined(BOOST_MSVC))
|
|
||||||
count_copies part;
|
count_copies part;
|
||||||
reset();
|
reset();
|
||||||
std::pair<count_copies const&, count_copies const&> a_ref(part, part);
|
std::pair<count_copies const&, count_copies const&> a_ref(part, part);
|
||||||
|
Reference in New Issue
Block a user