summaryrefslogtreecommitdiff
path: root/src/lib/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/util.h')
-rw-r--r--src/lib/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/util.h b/src/lib/util.h
index 564e376ad..ceb30701c 100644
--- a/src/lib/util.h
+++ b/src/lib/util.h
@@ -128,7 +128,7 @@ std::list<T>
vector_to_list (std::vector<T> v)
{
std::list<T> l;
- BOOST_FOREACH (T& i, v) {
+ for (auto& i: v) {
l.push_back (i);
}
return l;
@@ -139,7 +139,7 @@ std::vector<T>
list_to_vector (std::list<T> v)
{
std::vector<T> l;
- BOOST_FOREACH (T& i, v) {
+ for (auto& i: v) {
l.push_back (i);
}
return l;