From 401bea8fdf75a08c9e483fc4ca143edeca5d9875 Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Tue, 18 Sep 2018 10:22:58 +0200 Subject: Make a method const Change-Id: I70043699d15daf858c47d30018060aef31810abb Reviewed-by: Simon Hausmann --- src/qml/compiler/qv4compilercontext_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/qml/compiler/qv4compilercontext_p.h') diff --git a/src/qml/compiler/qv4compilercontext_p.h b/src/qml/compiler/qv4compilercontext_p.h index 51b0595d0e..63306b3672 100644 --- a/src/qml/compiler/qv4compilercontext_p.h +++ b/src/qml/compiler/qv4compilercontext_p.h @@ -277,7 +277,7 @@ struct Context { isStrict = true; } - int findArgument(const QString &name) + int findArgument(const QString &name) const { // search backwards to handle duplicate argument names correctly for (int i = arguments.size() - 1; i >= 0; --i) { -- cgit v1.2.3