[Move] Lint

This commit is contained in:
2022-12-18 17:59:34 +01:00
parent 8613a92e2a
commit d9ed8e498d
2 changed files with 21 additions and 23 deletions

View File

@@ -2,16 +2,15 @@
#include <ostream>
Move::Move(const Square& from, const Square& to,
const std::optional<PieceType>& promotion)
{
(void)from;
(void)to;
(void)promotion;
Move::Move(const Square &from, const Square &to,
const std::optional<PieceType> &promotion) {
(void) from;
(void) to;
(void) promotion;
}
Move::Optional Move::fromUci(const std::string& uci) {
(void)uci;
Move::Optional Move::fromUci(const std::string &uci) {
(void) uci;
return std::nullopt;
}
@@ -27,20 +26,19 @@ std::optional<PieceType> Move::promotion() const {
return std::nullopt;
}
std::ostream& operator<<(std::ostream& os, const Move& move) {
(void)move;
std::ostream &operator<<(std::ostream &os, const Move &move) {
(void) move;
return os;
}
bool operator<(const Move& lhs, const Move& rhs) {
(void)lhs;
(void)rhs;
bool operator<(const Move &lhs, const Move &rhs) {
(void) lhs;
(void) rhs;
return false;
}
bool operator==(const Move& lhs, const Move& rhs) {
(void)lhs;
(void)rhs;
bool operator==(const Move &lhs, const Move &rhs) {
(void) lhs;
(void) rhs;
return false;
}