diff options
Diffstat (limited to 'src/qml')
-rw-r--r-- | src/qml/compiler/qqmlirbuilder_p.h | 10 | ||||
-rw-r--r-- | src/qml/qml/qqmlpropertycachecreator_p.h | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/src/qml/compiler/qqmlirbuilder_p.h b/src/qml/compiler/qqmlirbuilder_p.h index 64298466e0..ea9e03f497 100644 --- a/src/qml/compiler/qqmlirbuilder_p.h +++ b/src/qml/compiler/qqmlirbuilder_p.h @@ -526,16 +526,6 @@ private: } // namespace QmlIR -inline QQmlJS::DiagnosticMessage qQmlCompileError(const QV4::CompiledData::Location &location, - const QString &description) -{ - QQmlJS::DiagnosticMessage error; - error.line = location.line; - error.column = location.column; - error.message = description; - return error; -} - QT_END_NAMESPACE #endif // QQMLIRBUILDER_P_H diff --git a/src/qml/qml/qqmlpropertycachecreator_p.h b/src/qml/qml/qqmlpropertycachecreator_p.h index 14f734277d..b29f14ff4a 100644 --- a/src/qml/qml/qqmlpropertycachecreator_p.h +++ b/src/qml/qml/qqmlpropertycachecreator_p.h @@ -57,6 +57,16 @@ QT_BEGIN_NAMESPACE +inline QQmlJS::DiagnosticMessage qQmlCompileError(const QV4::CompiledData::Location &location, + const QString &description) +{ + QQmlJS::DiagnosticMessage error; + error.line = location.line; + error.column = location.column; + error.message = description; + return error; +} + struct QQmlBindingInstantiationContext { QQmlBindingInstantiationContext() {} QQmlBindingInstantiationContext(int referencingObjectIndex, |