From de07dcda4da2a6bc69ffd9290111fbdc9a34136c Mon Sep 17 00:00:00 2001 From: Deukhoofd Date: Sat, 15 Aug 2020 16:39:37 +0200 Subject: [PATCH] Initialize static variable Signed-off-by: Deukhoofd --- CInterface/Core.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/CInterface/Core.cpp b/CInterface/Core.cpp index a364279..0e938aa 100644 --- a/CInterface/Core.cpp +++ b/CInterface/Core.cpp @@ -1,6 +1,7 @@ #include "Core.hpp" std::string ExceptionHandler::_creatureLibLastException = ""; +std::string ExceptionHandler::_creatureLibLastExceptionStacktrace = ""; export const char* CreatureLib_C_GetLastException() { return ExceptionHandler::GetLastException(); } export const char* CreatureLib_C_GetLastExceptionStacktrace() { return ExceptionHandler::GetLastExceptionStacktrace(); }