diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/Utils/Utils.hpp | 2 | ||||
| -rw-r--r-- | src/Utils/catchInputInt.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Utils/Utils.hpp b/src/Utils/Utils.hpp index 7df9e3d..a60a64d 100644 --- a/src/Utils/Utils.hpp +++ b/src/Utils/Utils.hpp @@ -4,7 +4,7 @@ class Utils{ public: - int catchInputInt(int input); + int catchInputInt(int* input); int catchReturn(int renum); }; 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()) { |
