From e66b1aa8041b4dcc6738dbe9a5961d914d75c3cc Mon Sep 17 00:00:00 2001 From: mkwong98 Date: Mon, 8 Feb 2021 15:21:03 +0800 Subject: [PATCH] Fix compile error after updating VS2019 Compiler reports out of heap space when compiling this file after updating VS 2019. --- Core/TraceLogger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/TraceLogger.h b/Core/TraceLogger.h index 85e448d9..a2ace8df 100644 --- a/Core/TraceLogger.h +++ b/Core/TraceLogger.h @@ -52,7 +52,7 @@ struct TraceLoggerOptions class TraceLogger { private: - static constexpr int ExecutionLogSize = 30000; + static constexpr int ExecutionLogSize = 20000; //Must be static to be thread-safe when switching game static string _executionTrace;