forked from boostorg/unordered
Make unnecessary_copy_tests a bit more lenient.
I'm not sure if those extra moves are avoidable, but I'll allow them for now. They shouldn't hurt much. [SVN r68446]
This commit is contained in:
@ -261,7 +261,7 @@ namespace unnecessary_copy_tests
|
|||||||
// copied.
|
// copied.
|
||||||
reset();
|
reset();
|
||||||
x.emplace(source<std::pair<count_copies, count_copies> >());
|
x.emplace(source<std::pair<count_copies, count_copies> >());
|
||||||
COPY_COUNT(2); MOVE_COUNT(0);
|
COPY_COUNT(2); MOVE_COUNT_RANGE(0,2);
|
||||||
|
|
||||||
// TODO: This doesn't work on older versions of gcc.
|
// TODO: This doesn't work on older versions of gcc.
|
||||||
//count_copies part;
|
//count_copies part;
|
||||||
|
Reference in New Issue
Block a user