diff options
Diffstat (limited to 'src/day16.cpp')
| -rw-r--r-- | src/day16.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/day16.cpp b/src/day16.cpp index c2cd365..93c7479 100644 --- a/src/day16.cpp +++ b/src/day16.cpp | |||
| @@ -44,9 +44,7 @@ solve(const vector<string>& lines, tuple<size_t, size_t, unsigned int> start) | |||
| 44 | positions.emplace(start); | 44 | positions.emplace(start); |
| 45 | 45 | ||
| 46 | while ( !positions.empty() ) { | 46 | while ( !positions.empty() ) { |
| 47 | auto row = get<0>(positions.front()); | 47 | auto [row, col, dir] = positions.front(); |
| 48 | auto col = get<1>(positions.front()); | ||
| 49 | auto dir = get<2>(positions.front()); | ||
| 50 | positions.pop(); | 48 | positions.pop(); |
| 51 | 49 | ||
| 52 | while ( true ) { | 50 | while ( true ) { |
