From 65499bb801ce663a2bc45a3508fa32246090d0e7 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 13:43:28 +0300 Subject: Autocommit at 05.05.2022 @ 13:43 --- src/ConsoleInterface/Toolbox.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ConsoleInterface') 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 void inputBox(const char* label, T* output) { inputBoxLabel(label); - std::cin >> output; + std::cin >> *output; } void inputLineBox(const char* label, char* output, unsigned maxWidth) { -- cgit v1.3.1-23-gd82d