aboutsummaryrefslogtreecommitdiff
path: root/src/CGEHalfMove.cpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-12-31 09:40:39 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-12-31 09:40:39 +0100
commit2bb6730df8094c89af5a07d394fc02c43aea24eb (patch)
treeb531e2027961db3b15ccf649d6e015d62e8a392f /src/CGEHalfMove.cpp
parentf1f638100f4bcd88b31c3412e961dbbb5e12ad0a (diff)
Update
Diffstat (limited to 'src/CGEHalfMove.cpp')
-rw-r--r--src/CGEHalfMove.cpp20
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;