From b8dbd08705fa698b516addbe5ce07159cce0409b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Fri, 13 Feb 2015 11:31:45 +0100 Subject: Get rid of Value::asDateObject() Change-Id: I71816a784b5175f600c5a870318b16c0d84c42fb 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 e8973bc5b5..5b08a2c8f3 100644 --- a/src/qml/jsruntime/qv4value_inl_p.h +++ b/src/qml/jsruntime/qv4value_inl_p.h @@ -258,16 +258,6 @@ inline StringObject *Value::asStringObject() const return isObject() ? managed()->asStringObject() : 0; } -inline DateObject *Value::asDateObject() const -{ - return isObject() ? managed()->asDateObject() : 0; -} - -template<> -inline const String *Value::as() const { - return asString(); -} - template<> inline ReturnedValue value_convert(ExecutionEngine *e, const Value &v) { -- cgit v1.2.3