aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4objectproto_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2017-10-21 14:49:50 +0200
committerLars Knoll <lars.knoll@qt.io>2017-11-07 09:00:53 +0000
commit3f37847fc3758d66cb16e8e070c29ac5b39dbc7a (patch)
tree238252b16f4a34e9b6e1ae2c23e77030a5063aba /src/qml/jsruntime/qv4objectproto_p.h
parente72306a6f2aeb2bddbb462c205db8fad2fb5a1a4 (diff)
Rename the construct 'virtual' method to callAsConstructor
To make it consistent with the rest of the engine. Change-Id: I57b98fa26134f9864c663f47371ef3e9ca16ac9c Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4objectproto_p.h')
-rw-r--r--src/qml/jsruntime/qv4objectproto_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4objectproto_p.h b/src/qml/jsruntime/qv4objectproto_p.h
index c3c63de8ce..cdfdfd5536 100644
--- a/src/qml/jsruntime/qv4objectproto_p.h
+++ b/src/qml/jsruntime/qv4objectproto_p.h
@@ -70,7 +70,7 @@ struct ObjectCtor: FunctionObject
{
V4_OBJECT2(ObjectCtor, FunctionObject)
- static ReturnedValue construct(const Managed *that, CallData *callData);
+ static ReturnedValue callAsConstructor(const Managed *that, CallData *callData);
static ReturnedValue call(const Managed *m, CallData *callData);
};