Allow to assign a Move to an ExtMove

After defining ExtMove::operator Move(), this is a
natural extension.

No fnctional change.
This commit is contained in:
Marco Costalba
2015-02-01 13:29:27 +01:00
parent 20d6a8e57f
commit e56e5045dd
2 changed files with 10 additions and 10 deletions

View File

@@ -38,6 +38,7 @@ struct ExtMove {
Value value;
operator Move() const { return move; }
void operator=(Move m) { move = m; }
};
inline bool operator<(const ExtMove& f, const ExtMove& s) {