|
Boost-Commit : |
From: daniel_james_at_[hidden]
Date: 2008-02-05 15:47:45
Author: danieljames
Date: 2008-02-05 15:47:44 EST (Tue, 05 Feb 2008)
New Revision: 43116
URL: http://svn.boost.org/trac/boost/changeset/43116
Log:
Some compilers and libraries combinations have problems with deques of non-assingable types. Using a list instead.
Text files modified:
branches/unordered/trunk/libs/unordered/test/unordered/equivalent_keys_tests.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Modified: branches/unordered/trunk/libs/unordered/test/unordered/equivalent_keys_tests.cpp
==============================================================================
--- branches/unordered/trunk/libs/unordered/test/unordered/equivalent_keys_tests.cpp (original)
+++ branches/unordered/trunk/libs/unordered/test/unordered/equivalent_keys_tests.cpp 2008-02-05 15:47:44 EST (Tue, 05 Feb 2008)
@@ -8,7 +8,7 @@
#include <boost/detail/lightweight_test.hpp>
#include <algorithm>
#include <map>
-#include <deque>
+#include <list>
#include "../helpers/tracker.hpp"
#include "../helpers/invariants.hpp"
@@ -57,7 +57,7 @@
void map_tests()
{
- typedef std::deque<std::pair<int const, int> > values_type;
+ typedef std::list<std::pair<int const, int> > values_type;
values_type v[5];
v[0].push_back(std::pair<int const, int>(1,1));
v[1].push_back(std::pair<int const, int>(28,34));
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk