trunk/branch integration: documentation

This commit is contained in:
Marian Krivos 2011-08-22 16:33:59 +00:00
parent 5efe090309
commit 25ab4f5300

View File

@ -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();
}