aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-30 17:58:58 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-11-30 17:58:58 +0000
commitab783b1700fc14ed04bf14fc9df2c6c7b6e90a41 (patch)
tree76d65feb32385c30ead8ed4afb2a2acaf95aeae5
parentdaemon: print monero version at startup when calling a detached daemon (diff)
downloadmonero-ab783b1700fc14ed04bf14fc9df2c6c7b6e90a41.tar.xz
easylogging++: ensure logger is initialized before main
-rw-r--r--external/easylogging++/easylogging++.cc1
1 files changed, 1 insertions, 0 deletions
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