From 2bb6730df8094c89af5a07d394fc02c43aea24eb Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Sat, 31 Dec 2022 09:40:39 +0100 Subject: Update --- src/CGEHalfMove.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/CGEHalfMove.cpp') 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; -- cgit v1.2.3