From 3e4cf5498b6605b1953cbe1b041bdff10154a0ce Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 13 Feb 2015 15:31:23 +0100 Subject: Fix definition order of nested inline methods Avoid compiler warning about using inline methods that aren't defined yet. Change-Id: Ic19c91e8d8af0cb8d2280ae7e89f4c0363f0e466 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4value_inl_p.h | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/qml/jsruntime/qv4value_inl_p.h') diff --git a/src/qml/jsruntime/qv4value_inl_p.h b/src/qml/jsruntime/qv4value_inl_p.h index 9c6dbadc65..380b17d186 100644 --- a/src/qml/jsruntime/qv4value_inl_p.h +++ b/src/qml/jsruntime/qv4value_inl_p.h @@ -44,16 +44,6 @@ QT_BEGIN_NAMESPACE namespace QV4 { -inline void Value::mark(ExecutionEngine *e) -{ - if (!val) - return; - Managed *m = as(); - if (m) - m->mark(e); -} - - inline double Value::toNumber() const { if (isInteger()) -- cgit v1.2.3