Don't include warnings of singleton access from initSingleton() to the end users (release build)
This commit is contained in:
@@ -226,7 +226,7 @@ void LLSingleton<DERIVED_TYPE>::createInstance(SingletonInstanceData& data)
|
|||||||
|
|
||||||
if (data.mInitState == INITIALIZING)
|
if (data.mInitState == INITIALIZING)
|
||||||
{
|
{
|
||||||
llwarns << "Tried to access singleton " << typeid(DERIVED_TYPE).name() << " from initSingleton(), using half-initialized object" << llendl;
|
lldebugs << "Tried to access singleton " << typeid(DERIVED_TYPE).name() << " from initSingleton(), using half-initialized object" << llendl;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user