From a5e10a64343ae55e77cdb4910f0febe58ab7cfbc Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Mon, 15 Nov 2021 23:45:17 +0100 Subject: [PATCH] (Windows) Fixed a compiler error. --- es-core/src/Log.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-core/src/Log.cpp b/es-core/src/Log.cpp index c9659109e..98bedf260 100644 --- a/es-core/src/Log.cpp +++ b/es-core/src/Log.cpp @@ -7,6 +7,7 @@ // #include "Log.h" +#include "utils/StringUtil.h" void Log::init() { @@ -19,7 +20,7 @@ void Log::init() void Log::open() { #if defined(_WIN64) - file.open(Utils::String::stringToWideString(getLogPath()).c_str()); + sFile.open(Utils::String::stringToWideString(getLogPath()).c_str()); #else sFile.open(getLogPath().c_str()); #endif