back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/solution_algorithm.cpp
diff options
context:
space:
mode:
authorscratko <m@scratko.xyz>2024-11-21 00:42:10 +0300
committerscratko <m@scratko.xyz>2024-11-21 00:50:56 +0300
commit0b72fabadec642dcecfe861c56dfeddb0c82a898 (patch)
tree76d8a003db2c45bd0a94753ab921fc07d080f970 /solution_algorithm.cpp
parent503e7350fa3d8065e2f4814181664382154dc702 (diff)
downloadpicture-puzzle-0b72fabadec642dcecfe861c56dfeddb0c82a898.tar.gz
picture-puzzle-0b72fabadec642dcecfe861c56dfeddb0c82a898.tar.bz2
picture-puzzle-0b72fabadec642dcecfe861c56dfeddb0c82a898.zip
Fixed memory leak
The image widget is responsible for deleting the loaded part of the image Check for correct type of selected file Error checking after image upload
Diffstat (limited to 'solution_algorithm.cpp')
-rw-r--r--solution_algorithm.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/solution_algorithm.cpp b/solution_algorithm.cpp
index 70a9ace..f0b7861 100644
--- a/solution_algorithm.cpp
+++ b/solution_algorithm.cpp
@@ -108,7 +108,6 @@ void ASearch::ApplyFairEvaluator(Node& n) const
n.evaluation = n.depth + sum_md;
}
-
class MovesCreator {
vect_node& free_moves;
GameParams::coordinates empty_box_coord;