mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 19:10:20 +01:00
trunk/branch integration: documentation
This commit is contained in:
@@ -125,6 +125,9 @@ ErrorHandler* ErrorHandler::set(ErrorHandler* pHandler)
|
|||||||
|
|
||||||
ErrorHandler* ErrorHandler::defaultHandler()
|
ErrorHandler* ErrorHandler::defaultHandler()
|
||||||
{
|
{
|
||||||
|
// NOTE: Since this is called to initialize the static _pHandler
|
||||||
|
// variable, sh has to be a local static, otherwise we run
|
||||||
|
// into static initialization order issues.
|
||||||
static SingletonHolder<ErrorHandler> sh;
|
static SingletonHolder<ErrorHandler> sh;
|
||||||
return sh.get();
|
return sh.get();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user