mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Use constexpr when makes sense
No functional change.
This commit is contained in:
committed by
Marco Costalba
parent
ccd6bad512
commit
28b6a457c2
+1
-1
@@ -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