minor fix in main

Sun, 03 Jul 2022 21:49:15 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Sun, 03 Jul 2022 21:49:15 +0300
changeset 325
64ddcd77639f
parent 324
d9bab5d22c98
child 326
65dbfcb859a7

minor fix in main

src/main.cpp file | annotate | diff | comparison | revisions
--- a/src/main.cpp	Sun Jul 03 21:49:02 2022 +0300
+++ b/src/main.cpp	Sun Jul 03 21:49:15 2022 +0300
@@ -458,7 +458,7 @@
 			);
 		}
 	};
-	static constexpr auto executeAction = [&](
+	const auto executeAction = [&](
 		Model* model, const ModelAction& action
 	) {
 		std::visit(overloaded{

mercurial