Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / ConsoleInterface / Toolbox.hpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 8 deletions
-rw-r--r--src/Generic/ConsoleInterface/Toolbox.hpp9
diff --git a/src/Generic/ConsoleInterface/Toolbox.hpp b/src/Generic/ConsoleInterface/Toolbox.hpp
index 99489f5..66d414b 100644
--- a/src/Generic/ConsoleInterface/Toolbox.hpp
+++ b/src/Generic/ConsoleInterface/Toolbox.hpp
@@ -16,7 +16,7 @@
#define MAX_LINE_WIDTH 1024
//! Prints label, gets a whole line of input and stores it to output
-void inputLineBox(const char* label, char* output, unsigned maxWidth, bool ignore = true);
+void inputLineBox(char* output, unsigned maxWidth, bool ignore = true);
//! Prints a string list as a table
void table(const List<String>& items, unsigned columns);
@@ -57,11 +57,4 @@ void printLine(const T& item) {
std::cout << item << std::endl;
}
-//! Prints a label and then reads user input and stores it
-template <typename T>
-void inputBox(const char* label, T* output) {
- print(label);
- std::cin >> *output;
-}
-
#endif