diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-15 14:23:54 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-01-15 14:23:54 +0100 |
| commit | 2ac42558f2b6269ad4d8e0809519f96aae1fd342 (patch) | |
| tree | 8a1a062d71747484164009bd7826aee1db37d945 /src/HalfMove.hpp | |
| parent | 52c2fd4521d33616514dc2a43ad1ee432ce16275 (diff) | |
Add const qualifiers
Diffstat (limited to 'src/HalfMove.hpp')
| -rw-r--r-- | src/HalfMove.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/HalfMove.hpp b/src/HalfMove.hpp index 9e90fda..47caf05 100644 --- a/src/HalfMove.hpp +++ b/src/HalfMove.hpp @@ -13,7 +13,7 @@ namespace pgnp { class HalfMove { private: /// @brief Recursive dump - std::string NestedDump(HalfMove *, int); + std::string NestedDump(const HalfMove *, int) const; public: /// @brief Contains current move count @@ -33,9 +33,9 @@ public: HalfMove(); ~HalfMove(); /// @brief Get number of HalfMove in the MailLine - int GetLength(); + int GetLength() const; /// @brief Dump move and all its variations - std::string Dump(); + std::string Dump() const; /// @brief Perform a deep copy of a HalfMove void Copy(HalfMove *copy); /// @brief Get HalfMove located x down the MainLine |
