fix bugprone-*
* bugprone-throw-keyword-missing * bugprone-unhandled-self-assignment * bugprone-suspicious-string-compare * bugprone-reserved-identifier * bugprone-narrowing-conversions * bugprone-macro-parentheses * bugprone-implicit-widening-of-multiplication-result * bugprone-exception-escape * bugprone-copy-constructor-init
This commit is contained in:
@@ -33,7 +33,7 @@ ExceptionFactory* ExceptionFactory::_pcSingleton = nullptr; // NOLINT
|
||||
ExceptionFactory& ExceptionFactory::Instance()
|
||||
{
|
||||
if (!_pcSingleton) {
|
||||
_pcSingleton = new ExceptionFactory;
|
||||
_pcSingleton = new ExceptionFactory; // NOLINT
|
||||
}
|
||||
return *_pcSingleton;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user