diff options
| author | Ulf Hermann <ulf.hermann@qt.io> | 2021-11-15 17:48:02 +0100 |
|---|---|---|
| committer | Ulf Hermann <ulf.hermann@qt.io> | 2021-11-15 18:48:47 +0100 |
| commit | 87bee5aa79176c124d771d0a92f794e820168e48 (patch) | |
| tree | 30d047c47e03432cd71959afdf505863f37449d5 /src/qml/compiler/qv4compiler_p.h | |
| parent | d17a49a5c593947a3a2f7aaa39137375e508a8fd (diff) | |
Make a few member functions const
They don't change anything.
Change-Id: Iba7ecdc0658d44db5fd2060d23150e704e9446ad
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compiler_p.h')
| -rw-r--r-- | src/qml/compiler/qv4compiler_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4compiler_p.h b/src/qml/compiler/qv4compiler_p.h index 5155c25c06..ff5cd3f18e 100644 --- a/src/qml/compiler/qv4compiler_p.h +++ b/src/qml/compiler/qv4compiler_p.h @@ -131,7 +131,7 @@ struct Q_QMLCOMPILER_PRIVATE_EXPORT JSUnitGenerator { int registerRegExp(QQmlJS::AST::RegExpLiteral *regexp); int registerConstant(ReturnedValue v); - ReturnedValue constant(int idx); + ReturnedValue constant(int idx) const; int registerJSClass(const QStringList &members); |
