@@ -5,11 +5,9 @@ import solver; class CUI(Solver) : GameObserver { - this(const(Game) g) { - solver = new Solver(g); - } + this(in Game g) { solver = new Solver(g); } Solver solver; bool fin; override void on_game_changed(char c, const(Game) g, bool finished) {