2023 Day 13 Part 1

Add a const
This commit is contained in:
2023-12-13 09:07:13 +00:00
parent 5b3cfac3c4
commit 6c82d3a40a

View File

@@ -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};