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

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