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:
Daniel James
2011-01-25 20:15:27 +00:00
parent a33949a0a5
commit a4750fbdba

View File

@ -261,7 +261,7 @@ namespace unnecessary_copy_tests
// copied.
reset();
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.
//count_copies part;