diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-12-31 09:40:39 +0100 |
| commit | 2bb6730df8094c89af5a07d394fc02c43aea24eb (patch) | |
| tree | b531e2027961db3b15ccf649d6e015d62e8a392f /src/CGEHalfMove.cpp | |
| parent | f1f638100f4bcd88b31c3412e961dbbb5e12ad0a (diff) | |
Update
Diffstat (limited to 'src/CGEHalfMove.cpp')
| -rw-r--r-- | src/CGEHalfMove.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/CGEHalfMove.cpp b/src/CGEHalfMove.cpp index 669b568..4deb57b 100644 --- a/src/CGEHalfMove.cpp +++ b/src/CGEHalfMove.cpp @@ -23,26 +23,6 @@ CGEHalfMove::CGEHalfMove(std::string move) this->move = move; } -void CGEHalfMove::SetComment(const std::string &c) { - if (c.size() > 0) { - NbLineComment = 1; - for (const char &c : c) { - if (c == '\n') { - NbLineComment++; - } - } - this->comment = c; - } - else { - this->comment=""; - NbLineComment=0; - } -} - -std::string CGEHalfMove::GetComment() { return (comment); } - -std::uint16_t CGEHalfMove::GetNbLineComment() { return (this->NbLineComment); } - void CGEHalfMove::RemoveChild(CGEHalfMove *m) { std::uint32_t i = 0; bool found = false; |
