summaryrefslogtreecommitdiff
path: root/src/Utils/catchInputInt.cpp
diff options
context:
space:
mode:
authordawidg81 <dawidgorski.m@gmail.com>2026-01-26 21:05:46 +0100
committerdawidg81 <dawidgorski.m@gmail.com>2026-01-26 21:05:46 +0100
commit4d065c1024ef88217e3de9d9cc18f20be1821c54 (patch)
tree2ba6b56dcaa185a7e0cfeb13e68b2a2599ae0ab7 /src/Utils/catchInputInt.cpp
parent773646966b6ea0cf69bd374ca55d60a030b873bc (diff)
utils update
Diffstat (limited to 'src/Utils/catchInputInt.cpp')
-rw-r--r--src/Utils/catchInputInt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils/catchInputInt.cpp b/src/Utils/catchInputInt.cpp
index dd804b5..da99833 100644
--- a/src/Utils/catchInputInt.cpp
+++ b/src/Utils/catchInputInt.cpp
@@ -3,7 +3,7 @@
#include <cstdio>
#include <iostream>
-int Utils::catchInputInt(int input){
+int Utils::catchInputInt(int* input){
std::cin >> input;
if (std::cin.fail()) {