From f310b63b88ba0a86cb5f46e97e40cffcc6b0546c Mon Sep 17 00:00:00 2001 From: cxl Date: Fri, 21 Jun 2019 13:57:58 +0000 Subject: [PATCH] Core: LangInfo fixed to compile with MSC15 git-svn-id: svn://ultimatepp.org/upp/trunk@13425 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Core/LangInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uppsrc/Core/LangInfo.cpp b/uppsrc/Core/LangInfo.cpp index ecc606abc..0eaddddf1 100644 --- a/uppsrc/Core/LangInfo.cpp +++ b/uppsrc/Core/LangInfo.cpp @@ -492,7 +492,7 @@ void SyncLngInfo__() const LanguageInfo& GetLanguageInfo() { - if(!sCurrentLangInfo) + if(!sCurrentLangInfo.load()) SyncLngInfo__(); return *sCurrentLangInfo; }