Replace BOOST_FOREACH with C++11 ranged for

This commit is contained in:
Miguel Herranz
2017-01-22 21:38:10 +01:00
parent daf66621dc
commit 629e3101ab
12 changed files with 78 additions and 78 deletions

View File

@@ -43,7 +43,7 @@ namespace boost
{
size_t s = x.size();
a << s;
BOOST_FOREACH(auto& v, x)
for(auto& v: x)
{
a << v.first;
a << v.second;
@@ -72,7 +72,7 @@ namespace boost
{
size_t s = x.size();
a << s;
BOOST_FOREACH(auto& v, x)
for(auto& v: x)
{
a << v.first;
a << v.second;
@@ -101,7 +101,7 @@ namespace boost
{
size_t s = x.size();
a << s;
BOOST_FOREACH(auto& v, x)
for(auto& v: x)
{
a << v;
}