Avoid shadowing of member variable.

This commit is contained in:
Joakim Hove
2016-06-15 15:31:37 +02:00
parent 7f540951f4
commit 9b874aabfb

View File

@@ -257,12 +257,9 @@ namespace Opm {
* this->keywords = fun::concat( fun::map( handler, section ) );
* The following code is a workaround for this compiler bug */
for (auto& x : section)
{
auto keywords = handler(x);
for (auto& keyword : keywords)
{
for (auto& keyword : handler(x))
this->keywords.push_back(keyword);
}
}
}