forked from qt-creator/qt-creator
C++: Replace non-absolute-critical asserts for soft ones
Change-Id: I021074a78d90929b4e83b8aff9db1ae7995e8c6a Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -43,6 +43,8 @@
|
||||
#include <AST.h>
|
||||
#include <SymbolVisitor.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
#include <QtCore/QThreadPool>
|
||||
#include <QtCore/QDebug>
|
||||
@@ -284,7 +286,7 @@ protected:
|
||||
|
||||
CheckSymbols::Future CheckSymbols::go(Document::Ptr doc, const LookupContext &context)
|
||||
{
|
||||
Q_ASSERT(doc);
|
||||
QTC_ASSERT(doc, return Future());
|
||||
|
||||
return (new CheckSymbols(doc, context))->start();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user