diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-02-02 18:16:38 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-02-02 18:16:39 +0200 |
commit | f9e60dcd551b9f5b4a86a730d0abfc97a6767519 (patch) | |
tree | e1613849aa7a66b11876a03b081c4cc4f6450ca8 /src/common/unordered_containers_boost_serialization.h | |
parent | Merge pull request #1614 (diff) | |
parent | Remove boost/foreach.cpp includes (diff) | |
download | monero-f9e60dcd551b9f5b4a86a730d0abfc97a6767519.tar.xz |
Merge pull request #1617
0644eed7 Remove boost/foreach.cpp includes (Miguel Herranz)
36dd3e23 Replace BOOST_REVERSE_FOREACH with ranged for (Miguel Herranz)
629e3101 Replace BOOST_FOREACH with C++11 ranged for (Miguel Herranz)
Diffstat (limited to 'src/common/unordered_containers_boost_serialization.h')
-rw-r--r-- | src/common/unordered_containers_boost_serialization.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/unordered_containers_boost_serialization.h b/src/common/unordered_containers_boost_serialization.h index 08b5d9ccf..b2d5b27a6 100644 --- a/src/common/unordered_containers_boost_serialization.h +++ b/src/common/unordered_containers_boost_serialization.h @@ -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; } |