diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-12-12 12:01:18 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-12-12 12:01:18 +0200 |
commit | 5e9225e63771161d4260c609077162e957b1524b (patch) | |
tree | 047b858f4f9574523cf444586ecda430e98f630e /external | |
parent | Merge pull request #4924 (diff) | |
parent | easylogging++: ensure logger is initialized before main (diff) | |
download | monero-5e9225e63771161d4260c609077162e957b1524b.tar.xz |
Merge pull request #4925
ab783b17 easylogging++: ensure logger is initialized before main (moneromooo-monero)
9b69a0ae daemon: print monero version at startup when calling a detached daemon (moneromooo-monero)
4d71d463 mlocker: remove early page size log (moneromooo-monero)
Diffstat (limited to 'external')
-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 c24fb80cf..aec4a150d 100644 --- a/external/easylogging++/easylogging++.cc +++ b/external/easylogging++/easylogging++.cc @@ -2197,6 +2197,7 @@ el::base::type::StoragePointer &el::base::Storage::getELPP() el::base::elStorage = new el::base::Storage(el::LogBuilderPtr(new el::base::DefaultLogBuilder())); return el::base::elStorage; } +static struct EnsureELPP { EnsureELPP() { el::base::Storage::getELPP(); } } ensureELPP; #if ELPP_ASYNC_LOGGING Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) : #else |