Tidyup 2021 day 12 puzzles

This commit is contained in:
2021-12-12 08:06:02 +00:00
parent 9e9321541a
commit 624b285d3d

View File

@@ -82,10 +82,7 @@ auto main() -> int
unsigned route_count{0};
Route route{"start"};
visit(route, paths, [&route_count](auto const&, auto const&) {
std::cout << "\n";
++route_count;
});
visit(route, paths, [&route_count](auto const&, auto const&) { ++route_count; });
std::cout << "Routes count: " << route_count;
return 0;
}