From b6bc0d092fe2ab07c6aa1406781a13838714cdf2 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Wed, 28 Jan 2026 20:13:39 +0100 Subject: several fixes and successfull build --- src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Utils.cpp') diff --git a/src/Utils.cpp b/src/Utils.cpp index 37ebefe..b32b4e8 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -4,7 +4,7 @@ #include int Utils::catchInputInt(int* input){ - std::cin >> input; + std::cin >> *input; if (std::cin.fail()) { std::cout << "error: Input failed" << std::endl; -- cgit v1.2.3