|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r85018 - trunk/libs/multi_index/test
From: joaquin_at_[hidden]
Date: 2013-07-12 14:21:50
Author: joaquin
Date: 2013-07-12 14:21:50 EDT (Fri, 12 Jul 2013)
New Revision: 85018
URL: http://svn.boost.org/trac/boost/changeset/85018
Log:
fixed typos with initializer lists and redefined variables
Text files modified:
trunk/libs/multi_index/test/test_copy_assignment.cpp | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
Modified: trunk/libs/multi_index/test/test_copy_assignment.cpp
==============================================================================
--- trunk/libs/multi_index/test/test_copy_assignment.cpp Fri Jul 12 14:19:20 2013 (r85017)
+++ trunk/libs/multi_index/test/test_copy_assignment.cpp 2013-07-12 14:21:50 EDT (Fri, 12 Jul 2013) (r85018)
@@ -156,39 +156,39 @@
BOOST_TEST(i5==get<5>(es2));
#if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST)
- employee_set es8({{0,"Rose",40,4512)},{1,"Mary",38,3345},{2,"Jo",25,7102}});
+ employee_set es8({{0,"Rose",40,4512},{1,"Mary",38,3345},{2,"Jo",25,7102}});
employee_set es9;
- es9={{0,"Rose",40,4512)},{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512)}};
+ es9={{0,"Rose",40,4512},{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512}};
BOOST_TEST(es8.size()==3);
BOOST_TEST(es9==es8);
es9.clear();
- get<0>(es9)={{0,"Rose",40,4512)},{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512)}}
+ get<0>(es9)={{0,"Rose",40,4512},{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512}}
BOOST_TEST(es9==es8);
es9.clear();
- get<0>(es9)={{0,"Rose",40,4512)},{2,"Jo",25,7102},{1,"Mary",38,3345}};
+ get<0>(es9)={{0,"Rose",40,4512},{2,"Jo",25,7102},{1,"Mary",38,3345}};
BOOST_TEST(es9==es8);
es9.clear();
- get<1>(es9)={{1,"Mary",38,3345},{0,"Rose",40,4512)},{2,"Jo",25,7102},{0,"Rose",40,4512)}};
+ get<1>(es9)={{1,"Mary",38,3345},{0,"Rose",40,4512},{2,"Jo",25,7102},{0,"Rose",40,4512}};
BOOST_TEST(es9==es8);
es9.clear();
- get<2>(es9)={{2,"Jo",25,7102},{0,"Rose",40,4512)},{1,"Mary",38,3345}};
+ get<2>(es9)={{2,"Jo",25,7102},{0,"Rose",40,4512},{1,"Mary",38,3345}};
BOOST_TEST(es9==es8);
es9.clear();
- get<3>(es9)={{0,"Rose",40,4512)},{1,"Mary",38,3345},{1,"Mary",38,3345},{2,"Jo",25,7102}};
+ get<3>(es9)={{0,"Rose",40,4512},{1,"Mary",38,3345},{1,"Mary",38,3345},{2,"Jo",25,7102}};
BOOST_TEST(es9==es8);
es9.clear();
- get<4>(es9)={{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512)}};
+ get<4>(es9)={{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512}};
BOOST_TEST(es9==es8);
es9.clear();
- get<5>(es9)={{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512)},{2,"Jo",25,7102}};
+ get<5>(es9)={{1,"Mary",38,3345},{2,"Jo",25,7102},{0,"Rose",40,4512},{2,"Jo",25,7102}};
BOOST_TEST(es9==es8);
#endif
@@ -209,16 +209,16 @@
l.push_back(employee(2,"Agatha",40,1520));
#if BOOST_WORKAROUND(BOOST_MSVC,<1300)
- employee_set es8;
- es8.insert(l.begin(),l.end());
+ employee_set es13;
+ es13.insert(l.begin(),l.end());
#else
- employee_set es8(l.begin(),l.end());
+ employee_set es13(l.begin(),l.end());
#endif
l.sort();
- BOOST_TEST(es8.size()==l.size()&&
- std::equal(es8.begin(),es8.end(),l.begin()));
+ BOOST_TEST(es13.size()==l.size()&&
+ std::equal(es13.begin(),es13.end(),l.begin()));
/* MSVC++ 6.0 chokes on test_assign without this explicit instantiation */
multi_index_container<int,indexed_by<sequenced<> > > s1;
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