Fix the dictionary unit test.

This commit is contained in:
Gunnar Beutner 2013-03-12 21:41:29 +01:00
parent 98ab009b91
commit 9baa10c45f
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ BOOST_AUTO_TEST_CASE(unnamed_order)
* inserted in. */
Value value;
int i = 0;
ObjectLock olock(dictionary);
BOOST_FOREACH(tie(tuples::ignore, value), dictionary) {
BOOST_CHECK(value == i);
i++;