Rename LinesSolver::getPosition()/setPosition() to getCharAt()/setCharAt()

This commit is contained in:
2025-02-04 17:50:38 +01:00
parent 54204766ec
commit 648f6d4ebc
6 changed files with 20 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
// Solutions to the Advent Of Code 2024.
// Copyright (C) 2024 Stefan Müller
// Copyright (C) 2024-2025 Stefan Müller
//
// This program is free software: you can redistribute it and/or modify it under
// the terms of the GNU General Public License as published by the Free Software
@@ -28,6 +28,6 @@ class LinesSolver
protected:
std::vector<std::string> lines{};
bool isInBounds(const Point2& point) const;
char getPosition(const Point2& point) const;
void setPosition(const Point2& point, const char value);
char getCharAt(const Point2& point) const;
void setCharAt(const Point2& point, const char value);
};