mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
easylogging++: ensure logger is initialized before main
This commit is contained in:
parent
9b69a0ae01
commit
ab783b1700
1 changed files with 1 additions and 0 deletions
1
external/easylogging++/easylogging++.cc
vendored
1
external/easylogging++/easylogging++.cc
vendored
|
@ -2202,6 +2202,7 @@ el::base::type::StoragePointer el::base::Storage::getELPP()
|
||||||
{
|
{
|
||||||
return getresetELPP(false);
|
return getresetELPP(false);
|
||||||
}
|
}
|
||||||
|
static struct EnsureELPP { EnsureELPP() { el::base::Storage::getELPP(); } } ensureELPP;
|
||||||
#if ELPP_ASYNC_LOGGING
|
#if ELPP_ASYNC_LOGGING
|
||||||
Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) :
|
Storage::Storage(const LogBuilderPtr& defaultLogBuilder, base::IWorker* asyncDispatchWorker) :
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue