]> git.itanic.dy.fi Git - sudoku/blobdiff - sudoku.cpp
Remove useless cloning function
[sudoku] / sudoku.cpp
index 167a44cfce739fbfa936a0589142f5a569f4566f..0f9c8c6877d7b99cdedfbbe77925931f49467473 100644 (file)
@@ -151,16 +151,6 @@ void sudoku::print_compact(void)
        printf("%s\n", str);
 }
 
-void sudoku::clone_to(sudoku &to)
-{
-       sudoku clone;
-       int x, y;
-
-       for (x = 0; x < 9; x++)
-               for (y = 0; y < 9; y++)
-                       to.table[x][y] = table[x][y];
-}
-
 std::string sudoku::get_row_contents(int row)
 {
        std::string s;