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.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/qml/jsruntime/qv4value_p.h b/src/qml/jsruntime/qv4value_p.h
index 035eaa8fae..bc97e1a8de 100644
--- a/src/qml/jsruntime/qv4value_p.h
+++ b/src/qml/jsruntime/qv4value_p.h
@@ -304,8 +304,6 @@ struct Q_QML_PRIVATE_EXPORT Value
return b;
}
- inline String *asString() const;
- inline Managed *asManaged() const;
inline Object *asObject() const;
inline FunctionObject *asFunctionObject() const;
@@ -347,7 +345,7 @@ struct Q_QML_PRIVATE_EXPORT Value
// Section 9.12
bool sameValue(Value other) const;
- inline void mark(ExecutionEngine *e) const;
+ inline void mark(ExecutionEngine *e);
Value &operator =(const ScopedValue &v);
Value &operator=(ReturnedValue v) { val = v; return *this; }
@@ -376,12 +374,6 @@ struct Q_QML_PRIVATE_EXPORT Value
}
};
-inline Managed *Value::asManaged() const
-{
- if (isManaged())
- return managed();
- return 0;
-}
struct Q_QML_PRIVATE_EXPORT Primitive : public Value
{