forked from qt-creator/qt-creator
CppTools: Remove assertions for CppModelManager::instance()
It cannot return null. Change-Id: I3ac5f33e7e02554edc8df067c7b85518e58c1fc2 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a22dc36aaf
commit
831fb6181e
@@ -358,7 +358,6 @@ VerifyCleanCppModelManager::~VerifyCleanCppModelManager() {
|
||||
bool VerifyCleanCppModelManager::isClean()
|
||||
{
|
||||
CppModelManager *mm = CppModelManager::instance();
|
||||
RETURN_FALSE_IF_NOT(mm);
|
||||
RETURN_FALSE_IF_NOT(mm->projectInfos().isEmpty());
|
||||
RETURN_FALSE_IF_NOT(mm->headerPaths().isEmpty());
|
||||
RETURN_FALSE_IF_NOT(mm->definedMacros().isEmpty());
|
||||
|
||||
Reference in New Issue
Block a user