Skip to content
Snippets Groups Projects
Verified Commit bcf0ff03 authored by Lars Bilke's avatar Lars Bilke
Browse files

Renamed line to Line.

parent 46d23cd3
No related branches found
No related tags found
No related merge requests found
...@@ -44,7 +44,7 @@ void ConfigTreeTopLevel::checkAndInvalidate() ...@@ -44,7 +44,7 @@ void ConfigTreeTopLevel::checkAndInvalidate()
} }
// From https://stackoverflow.com/a/1567703/80480 // From https://stackoverflow.com/a/1567703/80480
class line class Line
{ {
std::string data; std::string data;
...@@ -73,8 +73,8 @@ ConfigTreeTopLevel makeConfigTree(const std::string& filepath, ...@@ -73,8 +73,8 @@ ConfigTreeTopLevel makeConfigTree(const std::string& filepath,
std::stringstream output; std::stringstream output;
std::transform( std::transform(
std::istream_iterator<line>(file), std::istream_iterator<Line>(file),
std::istream_iterator<line>(), std::istream_iterator<Line>(),
std::ostream_iterator<std::string>(output, "\n"), std::ostream_iterator<std::string>(output, "\n"),
[](std::string const& _line) { [](std::string const& _line) {
const std::regex base_regex(".*<include file=\"(.*)\" ?/>.*"); const std::regex base_regex(".*<include file=\"(.*)\" ?/>.*");
......
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