0_0_38525669_14204.cpp:12:69: error: could not convert '{{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0}, 0, 12}' from '<brace-enclosed initializer list>' to 'const Board'
const Board goal = {{0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 0}, 0, 12};
^
0_0_38525669_14204.cpp: In function 'Board move_(Board, int, int)':
0_0_38525669_14204.cpp:34:41: error: could not convert '{<brace-enclosed initializer list>(), -1, -1}' from '<brace-enclosed initializer list>' to 'Board'
if (index2 == -1) return {{}, -1, -1};
^
|