Rename LinesSolver::getPosition()/setPosition() to getCharAt()/setCharAt()
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user