[Move] Lint
This commit is contained in:
12
Move.hpp
12
Move.hpp
@@ -13,10 +13,10 @@ public:
|
||||
|
||||
using Optional = std::optional<Move>;
|
||||
|
||||
Move(const Square& from, const Square& to,
|
||||
const std::optional<PieceType>& promotion = std::nullopt);
|
||||
Move(const Square &from, const Square &to,
|
||||
const std::optional<PieceType> &promotion = std::nullopt);
|
||||
|
||||
static Optional fromUci(const std::string& uci);
|
||||
static Optional fromUci(const std::string &uci);
|
||||
|
||||
Square from() const;
|
||||
Square to() const;
|
||||
@@ -24,10 +24,10 @@ public:
|
||||
|
||||
};
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const Move& move);
|
||||
std::ostream &operator<<(std::ostream &os, const Move &move);
|
||||
|
||||
// Needed for std::map, std::set
|
||||
bool operator<(const Move& lhs, const Move& rhs);
|
||||
bool operator==(const Move& lhs, const Move& rhs);
|
||||
bool operator<(const Move &lhs, const Move &rhs);
|
||||
bool operator==(const Move &lhs, const Move &rhs);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user