ajouté interface textuelle
This commit is contained in:
@@ -17,7 +17,7 @@ enum Rotation {
|
||||
* @return A rotation corresponding to doing both rotations
|
||||
*/
|
||||
inline Rotation operator+(const Rotation& left, const Rotation& right) {
|
||||
return Rotation((left + right) % 4);
|
||||
return Rotation(((int) left + (int) right) % 4);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user