mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 23:12:57 +02:00
trunk/branch integration: documentation
This commit is contained in:
parent
5efe090309
commit
25ab4f5300
@ -122,9 +122,12 @@ ErrorHandler* ErrorHandler::set(ErrorHandler* pHandler)
|
||||
return pOld;
|
||||
}
|
||||
|
||||
|
||||
|
||||
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;
|
||||
return sh.get();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user