From ccd895a35632a2d507fca537cda5cab996b9a7d9 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Thu, 8 Sep 2011 21:10:18 +0000 Subject: [PATCH] Unordered: Extra check for vacpp's odd failure. VACPP 11.0 appears to be detecting a move for nothing more than a default initialised value. [SVN r74316] --- test/unordered/unnecessary_copy_tests.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unordered/unnecessary_copy_tests.cpp b/test/unordered/unnecessary_copy_tests.cpp index ee5a1eaa..45c61c07 100644 --- a/test/unordered/unnecessary_copy_tests.cpp +++ b/test/unordered/unnecessary_copy_tests.cpp @@ -203,6 +203,7 @@ namespace unnecessary_copy_tests { reset(); T x; + COPY_COUNT(0); MOVE_COUNT(0); BOOST_DEDUCED_TYPENAME T::value_type a; COPY_COUNT(1); MOVE_COUNT(0); x.emplace(boost::move(a));