From 3f37847fc3758d66cb16e8e070c29ac5b39dbc7a Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Sat, 21 Oct 2017 14:49:50 +0200 Subject: Rename the construct 'virtual' method to callAsConstructor To make it consistent with the rest of the engine. Change-Id: I57b98fa26134f9864c663f47371ef3e9ca16ac9c Reviewed-by: Erik Verbruggen --- src/qml/jsruntime/qv4regexpobject_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/jsruntime/qv4regexpobject_p.h') diff --git a/src/qml/jsruntime/qv4regexpobject_p.h b/src/qml/jsruntime/qv4regexpobject_p.h index 7432840fcd..7db862c502 100644 --- a/src/qml/jsruntime/qv4regexpobject_p.h +++ b/src/qml/jsruntime/qv4regexpobject_p.h @@ -150,7 +150,7 @@ struct RegExpCtor: FunctionObject int lastMatchStart() { return d()->lastMatchStart; } int lastMatchEnd() { return d()->lastMatchEnd; } - static ReturnedValue construct(const Managed *m, CallData *callData); + static ReturnedValue callAsConstructor(const Managed *m, CallData *callData); static ReturnedValue call(const Managed *that, CallData *callData); }; -- cgit v1.2.3