diff options
| author | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-28 20:13:39 +0100 |
|---|---|---|
| committer | dawidg81 <dawidgorski.m@gmail.com> | 2026-01-28 20:13:39 +0100 |
| commit | b6bc0d092fe2ab07c6aa1406781a13838714cdf2 (patch) | |
| tree | 74ee021008d28ffcae2026cf0a31fce1ec57207e /src/Utils.cpp | |
| parent | b80b1fbc4da147911099a27a8ad3d677a122ee21 (diff) | |
several fixes and successfull build
Diffstat (limited to 'src/Utils.cpp')
| -rw-r--r-- | src/Utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 <ostream> int Utils::catchInputInt(int* input){ - std::cin >> input; + std::cin >> *input; if (std::cin.fail()) { std::cout << "error: Input failed" << std::endl; |
