Commit 8434f2e5 authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files

constness

parent 1bb38f7c
......@@ -1758,13 +1758,13 @@ bool Board::isSolvable(bool restore)
auto const tile1 = TilePos(p.front().path().front().x(), p.front().path().front().y());
auto const tile2 = TilePos(p.front().path().back().x(), p.front().path().back().y());
if (!tilesMatch(field(tile1), field(tile2))) {
auto errMessage = QStringLiteral("Removing unmatched tiles: (%1,%2) => %3 (%4,%5) => %6")
.arg(p.front().path().front().x())
.arg(p.front().path().front().y())
.arg(field(tile1))
.arg(p.front().path().back().x())
.arg(p.front().path().back().y())
.arg(field(tile2));
auto const errMessage = QStringLiteral("Removing unmatched tiles: (%1,%2) => %3 (%4,%5) => %6")
.arg(p.front().path().front().x())
.arg(p.front().path().front().y())
.arg(field(tile1))
.arg(p.front().path().back().x())
.arg(p.front().path().back().y())
.arg(field(tile2));
qCCritical(KSHISEN_General) << errMessage;
}
setField(tile1, EMPTY);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment