From 3806bb74674f305679efdaa2889d155531bc3643 Mon Sep 17 00:00:00 2001 From: dawidg81 Date: Mon, 26 Jan 2026 17:24:50 +0100 Subject: dir rename --- src/utils/catchInputInt.cpp | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/utils/catchInputInt.cpp (limited to 'src/utils/catchInputInt.cpp') diff --git a/src/utils/catchInputInt.cpp b/src/utils/catchInputInt.cpp deleted file mode 100644 index 0dc8fc9..0000000 --- a/src/utils/catchInputInt.cpp +++ /dev/null @@ -1,15 +0,0 @@ -#include "Utils.hpp" - -#include -#include - -int Utils::catchInputInt(int input){ - std::cin >> input; - - if (std::cin.fail()) { - std::cout << "error: Input failed" << std::endl; - return 1; - } - - return 0; -} \ No newline at end of file -- cgit v1.2.3