summaryrefslogtreecommitdiffstats
path: root/skel/solution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'skel/solution.cpp')
-rw-r--r--skel/solution.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/skel/solution.cpp b/skel/solution.cpp
index 4279dec..4f2b128 100644
--- a/skel/solution.cpp
+++ b/skel/solution.cpp
@@ -9,7 +9,8 @@ auto parse_input(std::istream& is) {
9 std::istreambuf_iterator<char>() 9 std::istreambuf_iterator<char>()
10 }; 10 };
11 11
12 auto const lines = views::split(input, '\n'); 12 auto const lines = views::split(input, '\n')
13 | views::filter([](auto&& line) { return not line.empty(); });
13 // Parse input 14 // Parse input
14 return lines; 15 return lines;
15} 16}