Use constexpr when makes sense

No functional change.
This commit is contained in:
Guy Vreuls
2017-11-26 04:33:34 +01:00
committed by Marco Costalba
parent ccd6bad512
commit 28b6a457c2
3 changed files with 46 additions and 48 deletions

View File

@@ -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) {