diff options
Autocommit at 05.05.2022 @ 13:43
1 files changed, 1 insertions, 1 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.hpp | 2 |
diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp index a198684..dcb9459 100644 --- a/src/ConsoleInterface/Toolbox.hpp +++ b/src/ConsoleInterface/Toolbox.hpp @@ -55,7 +55,7 @@ void inputBoxLabel(const char* label) { template <typename T> void inputBox(const char* label, T* output) { inputBoxLabel(label); - std::cin >> output; + std::cin >> *output; } void inputLineBox(const char* label, char* output, unsigned maxWidth) { |
