From ab783b1700fc14ed04bf14fc9df2c6c7b6e90a41 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 30 Nov 2018 17:58:58 +0000 Subject: [PATCH] easylogging++: ensure logger is initialized before main --- external/easylogging++/easylogging++.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/external/easylogging++/easylogging++.cc b/external/easylogging++/easylogging++.cc index d57f3f3a0..00b8b830b 100644 --- a/external/easylogging++/easylogging++.cc +++ b/external/easylogging++/easylogging++.cc @@ -2202,6 +2202,7 @@ el::base::type::StoragePointer el::base::Storage::getELPP() { return getresetELPP(false); } +static struct EnsureELPP { EnsureELPP() { el::base::Storage::getELPP(); } } ensureELPP; #if ELPP_ASYNC_LOGGING Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) : #else