aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4value_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/jsruntime/qv4value_p.h')
-rw-r--r--src/qml/jsruntime/qv4value_p.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h
index 536057ef26..2aefcc4f30 100644
--- a/src/qml/jsruntime/qv4value_p.h
+++ b/src/qml/jsruntime/qv4value_p.h
@@ -356,9 +356,6 @@ struct Q_QML_EXPORT Value
}
template<typename T>
inline Returned<T> *as();
- template<typename T>
- inline Referenced<T> asRef();
-
};
inline Managed *Value::asManaged() const
@@ -436,7 +433,7 @@ struct TypedValue : public Value
}
TypedValue &operator =(T *t);
TypedValue &operator =(const Scoped<T> &v);
- TypedValue &operator =(const Referenced<T> &v);
+ TypedValue &operator =(const ManagedRef<T> &v);
TypedValue &operator =(Returned<T> *t);
TypedValue &operator =(const TypedValue<T> &t);