diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-02-13 11:31:45 +0100 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2015-04-16 20:56:59 +0000 |
commit | b8dbd08705fa698b516addbe5ce07159cce0409b (patch) | |
tree | 012b5a5dcfc570e0ac5588f8a8dc3a6e8437e05a /src/qml/jsruntime/qv4value_inl_p.h | |
parent | 43961057a973715856486c596959213bd911df73 (diff) |
Get rid of Value::asDateObject()
Change-Id: I71816a784b5175f600c5a870318b16c0d84c42fb
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4value_inl_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4value_inl_p.h | 10 |
1 files changed, 0 insertions, 10 deletions
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<String>(ExecutionEngine *e, const Value &v) { |