aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-03-18 09:20:45 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-19 08:14:56 +0100
commit3b2e7bf03b656b38ba7b24acf7ed38de555635f1 (patch)
tree0a7c9ae7ef73f1fb7d186e4470330b1668477604 /src/qml/compiler/qv4codegen_p.h
parent44ca5f1be03420978cc8d5468c4c40dcd5174a06 (diff)
Use Q_ASSERT instead of assert
Change-Id: I6185b59a7dfd6977ce82581ab4385e07d78f13f6 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/compiler/qv4codegen_p.h')
-rw-r--r--src/qml/compiler/qv4codegen_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4codegen_p.h b/src/qml/compiler/qv4codegen_p.h
index 9c43dc17fe..c495437622 100644
--- a/src/qml/compiler/qv4codegen_p.h
+++ b/src/qml/compiler/qv4codegen_p.h
@@ -48,7 +48,6 @@
#include <QtCore/QStringList>
#include <QStack>
#include <qqmlerror.h>
-#include <assert.h>
#include <private/qv4util_p.h>
QT_BEGIN_NAMESPACE
@@ -180,7 +179,7 @@ protected:
MemberMap::const_iterator it = members.find(name);
if (it == members.end())
return -1;
- assert((*it).index != -1 || !parent);
+ Q_ASSERT((*it).index != -1 || !parent);
return (*it).index;
}