|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r57151 - trunk/libs/unordered/test/unordered
From: daniel_james_at_[hidden]
Date: 2009-10-25 06:54:53
Author: danieljames
Date: 2009-10-25 06:54:53 EDT (Sun, 25 Oct 2009)
New Revision: 57151
URL: http://svn.boost.org/trac/boost/changeset/57151
Log:
Remove insert empty initializer lists, as there's a bug in gcc.
Text files modified:
trunk/libs/unordered/test/unordered/insert_tests.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/libs/unordered/test/unordered/insert_tests.cpp
==============================================================================
--- trunk/libs/unordered/test/unordered/insert_tests.cpp (original)
+++ trunk/libs/unordered/test/unordered/insert_tests.cpp 2009-10-25 06:54:53 EDT (Sun, 25 Oct 2009)
@@ -408,7 +408,7 @@
UNORDERED_AUTO_TEST(insert_initializer_list_multiset)
{
boost::unordered_multiset<std::string> multiset;
- multiset.insert({});
+ //multiset.insert({});
BOOST_TEST(multiset.empty());
multiset.insert({"a"});
BOOST_TEST_EQ(multiset.size(), 1u);
@@ -424,7 +424,7 @@
UNORDERED_AUTO_TEST(insert_initializer_list_map)
{
boost::unordered_map<std::string, std::string> map;
- map.insert({});
+ //map.insert({});
BOOST_TEST(map.empty());
map.insert({{"a", "b"},{"a", "b"},{"d", ""}});
BOOST_TEST_EQ(map.size(), 2u);
@@ -433,7 +433,7 @@
UNORDERED_AUTO_TEST(insert_initializer_list_multimap)
{
boost::unordered_multimap<std::string, std::string> multimap;
- multimap.insert({});
+ //multimap.insert({});
BOOST_TEST(multimap.empty());
multimap.insert({{"a", "b"},{"a", "b"},{"d", ""}});
BOOST_TEST_EQ(multimap.size(), 3u);
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