mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 17:46:26 +08:00
Use constexpr when makes sense
No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
ccd6bad512
commit
28b6a457c2
@@ -45,7 +45,7 @@ struct ExtMove {
|
||||
|
||||
// Inhibit unwanted implicit conversions to Move
|
||||
// with an ambiguity that yields to a compile error.
|
||||
operator float() const;
|
||||
operator float() const = delete;
|
||||
};
|
||||
|
||||
inline bool operator<(const ExtMove& f, const ExtMove& s) {
|
||||
|
||||
Reference in New Issue
Block a user