remove dead code

This commit is contained in:
Adam Jeniski 2025-12-28 05:40:22 -10:00
parent f16918d137
commit 406c5906eb

View File

@ -76,8 +76,6 @@ void insert_or_increment(std::map<size_t, uint64_t> &cols, size_t col,
uint64_t part_2(const Grid &grid) { uint64_t part_2(const Grid &grid) {
Location start = find_start(grid); Location start = find_start(grid);
const auto [start_row, start_col]{start}; const auto [start_row, start_col]{start};
using namespace std::ranges::views;
using namespace std::ranges; using namespace std::ranges;
auto view = iota_view{start_row, grid.size()}; auto view = iota_view{start_row, grid.size()};
std::map<size_t, uint64_t> starting_cols{{start_col, 1}}; std::map<size_t, uint64_t> starting_cols{{start_col, 1}};