Fix deprecation warning

[CL 33138204 by danny couture in ue5-main branch]
This commit is contained in:
danny couture
2024-04-22 10:31:37 -04:00
parent 870a15088d
commit 274939047f

View File

@@ -467,7 +467,7 @@ void FCrashReportAnalyticsSessionSummary::LogEvent(const TCHAR* Event, bool bFor
{
FScopeLock ScopedLock(&LoggerLock);
TGuardValue<bool> ReentrantGuard(bLoggerReentrantGuard, true);
if (*ReentrantGuard) // Read the old value.
if (ReentrantGuard.GetOriginalValue()) // Read the old value.
{
return; // Prevent renentrant logging.
}