Skip to content
Snippets Groups Projects
Commit 00e5f623 authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/FileIO/CsvInterface] Narrow scope of variable.

parent 74fe8291
No related branches found
No related tags found
No related merge requests found
......@@ -202,7 +202,6 @@ private:
std::string line;
std::size_t line_count(0);
std::size_t error_count(0);
std::list<std::string>::const_iterator it;
while (std::getline(in, line))
{
line_count++;
......@@ -217,7 +216,7 @@ private:
error_count++;
continue;
}
it = fields.begin();
auto it = fields.begin();
std::advance(it, column_idx);
std::istringstream stream(*it);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment