aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4context_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-09-25 22:42:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-28 13:33:43 +0200
commit18d4794e3f614eec8594f6636d569af8bc112618 (patch)
treec4f552dab56fea3f76b0b9542585a775c41db108 /src/qml/jsruntime/qv4context_p.h
parent150731fc68bcf823bec40729285813d902990cb7 (diff)
Fix Value usage in ErrorObjects
Change-Id: Iaa14ad5a8d3f085843e49195f8f4bb7bb020b9b6 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r--src/qml/jsruntime/qv4context_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h
index 4171d9e73d..f8d5620ec6 100644
--- a/src/qml/jsruntime/qv4context_p.h
+++ b/src/qml/jsruntime/qv4context_p.h
@@ -133,8 +133,8 @@ struct Q_QML_EXPORT ExecutionContext
void Q_NORETURN throwTypeError(const QString &message);
void Q_NORETURN throwReferenceError(const ValueRef value);
void Q_NORETURN throwReferenceError(const QString &value, const QString &fileName, int line, int column);
- void Q_NORETURN throwRangeError(Value value);
- void Q_NORETURN throwURIError(Value msg);
+ void Q_NORETURN throwRangeError(const ValueRef value);
+ void Q_NORETURN throwURIError(const ValueRef msg);
void Q_NORETURN throwUnimplemented(const QString &message);
void setProperty(const StringRef name, const ValueRef value);