From 1c989211277ad4fc0b81485af0deb5e724dd6f2e Mon Sep 17 00:00:00 2001 From: Lion Kortlepel Date: Tue, 30 Mar 2021 14:19:03 +0200 Subject: [PATCH] add debug print to diagnose crash --- src/TConsole.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/TConsole.cpp b/src/TConsole.cpp index b3742fd..87a20ae 100644 --- a/src/TConsole.cpp +++ b/src/TConsole.cpp @@ -36,7 +36,8 @@ std::string GetDate() { << " "; } */ - return date.str(); + warn(date.rdbuf()->str()); + return std::string(date.str()); } TConsole::TConsole() {