From efe9bca20c2569f039f0193c6572d88dc024cd3d Mon Sep 17 00:00:00 2001 From: Leandro Melo Date: Mon, 23 Jan 2012 17:44:49 +0100 Subject: C++: Replace non-absolute-critical asserts for soft ones Change-Id: I021074a78d90929b4e83b8aff9db1ae7995e8c6a Reviewed-by: hjk --- src/plugins/cpptools/cppfindreferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cppfindreferences.cpp') diff --git a/src/plugins/cpptools/cppfindreferences.cpp b/src/plugins/cpptools/cppfindreferences.cpp index 3f79794360..d59191a5c1 100644 --- a/src/plugins/cpptools/cppfindreferences.cpp +++ b/src/plugins/cpptools/cppfindreferences.cpp @@ -196,7 +196,7 @@ static void find_helper(QFutureInterface &future, Symbol *symbol) { const Identifier *symbolId = symbol->identifier(); - Q_ASSERT(symbolId != 0); + QTC_ASSERT(symbolId != 0, return); const Snapshot snapshot = context.snapshot(); -- cgit v1.2.1