diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-30 17:58:58 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-11-30 17:58:58 +0000 |
commit | ab783b1700fc14ed04bf14fc9df2c6c7b6e90a41 (patch) | |
tree | 76d65feb32385c30ead8ed4afb2a2acaf95aeae5 | |
parent | daemon: print monero version at startup when calling a detached daemon (diff) | |
download | monero-ab783b1700fc14ed04bf14fc9df2c6c7b6e90a41.tar.xz |
easylogging++: ensure logger is initialized before main
-rw-r--r-- | external/easylogging++/easylogging++.cc | 1 |
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 |