diff options
author | Lars Knoll <lars.knoll@digia.com> | 2014-03-18 09:20:45 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-19 08:14:56 +0100 |
commit | 3b2e7bf03b656b38ba7b24acf7ed38de555635f1 (patch) | |
tree | 0a7c9ae7ef73f1fb7d186e4470330b1668477604 /src/qml/jsruntime/qv4dateobject.cpp | |
parent | 44ca5f1be03420978cc8d5468c4c40dcd5174a06 (diff) |
Use Q_ASSERT instead of assert
Change-Id: I6185b59a7dfd6977ce82581ab4385e07d78f13f6
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4dateobject.cpp')
-rw-r--r-- | src/qml/jsruntime/qv4dateobject.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4dateobject.cpp b/src/qml/jsruntime/qv4dateobject.cpp index bbf064b6f8..f2e7573452 100644 --- a/src/qml/jsruntime/qv4dateobject.cpp +++ b/src/qml/jsruntime/qv4dateobject.cpp @@ -51,7 +51,6 @@ #include <cmath> #include <qmath.h> #include <qnumeric.h> -#include <cassert> #include <time.h> #include <private/qqmljsengine_p.h> @@ -157,7 +156,7 @@ static inline bool InLeapYear(double t) if (x == 365) return 0; - assert(x == 366); + Q_ASSERT(x == 366); return 1; } |