diff options
-rw-r--r-- | src/qml/common/qv4compileddata_p.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qml/common/qv4compileddata_p.h b/src/qml/common/qv4compileddata_p.h index 7d44126b13..232ac9c3c3 100644 --- a/src/qml/common/qv4compileddata_p.h +++ b/src/qml/common/qv4compileddata_p.h @@ -130,6 +130,13 @@ struct Location }; Location() : _dummy(0) { } + Location(quint32 l, quint32 c) + { + line = l; + column = c; + Q_ASSERT(line == l); + Q_ASSERT(column == c); + } inline bool operator<(const Location &other) const { return line < other.line || |