diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-09-18 10:22:58 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2018-09-28 09:50:45 +0000 |
commit | 401bea8fdf75a08c9e483fc4ca143edeca5d9875 (patch) | |
tree | 863b9a8181963c8142aa9c31e3a4a19c9094b652 /src | |
parent | 10356e7d5aa3fdb12b01239498ccc0c1cdf5a721 (diff) |
Make a method const
Change-Id: I70043699d15daf858c47d30018060aef31810abb
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/compiler/qv4compilercontext_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |