2023 Day 13 Part 1
Add a const
This commit is contained in:
@@ -11,7 +11,7 @@ struct Grid
|
||||
void clear() { rows_.clear(); }
|
||||
void push_back(std::string const& row) { rows_.push_back(row); }
|
||||
|
||||
[[nodiscard]] auto reflection_point() -> UInt
|
||||
[[nodiscard]] auto reflection_point() const -> UInt
|
||||
{
|
||||
for (std::size_t row{0}; row < rows_.size() - 1; ++row) {
|
||||
auto top{row};
|
||||
|
Reference in New Issue
Block a user