From abef00be916d148154358ccb7a98884cd50791b4 Mon Sep 17 00:00:00 2001 From: Hummel009 <60618853+Hummel009@users.noreply.github.com> Date: Tue, 23 Jan 2024 12:47:13 +0300 Subject: [PATCH] Update Main.cpp --- appCpp/src/Main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appCpp/src/Main.cpp b/appCpp/src/Main.cpp index 7bb28f3..f6eef0e 100644 --- a/appCpp/src/Main.cpp +++ b/appCpp/src/Main.cpp @@ -213,7 +213,7 @@ void calculateWrapper() { calculate(); } - catch (exception) + catch (exception &e) { storage.clear(); SetWindowTextA(field, "Error!");