From 9baa10c45ffe0f503c680505a2227d257660f9f2 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 12 Mar 2013 21:41:29 +0100 Subject: [PATCH] Fix the dictionary unit test. --- test/base-dictionary.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/base-dictionary.cpp b/test/base-dictionary.cpp index cbb87f47b..e19beab55 100644 --- a/test/base-dictionary.cpp +++ b/test/base-dictionary.cpp @@ -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++;