diff options
| author | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-12-09 14:38:48 +0100 |
|---|---|---|
| committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2025-12-12 13:55:11 +0100 |
| commit | 1ee91dc6047896ff83d4a621c132d37111e5b0ab (patch) | |
| tree | 322a11ebcdfb1276455bdc23cfde93d0d078bb07 /src/qml/common/qv4compileddata.cpp | |
| parent | 7974375103782db092f1cf0429ebfb259de60ff4 (diff) | |
QV4: Mark CompilationUnit::saveToDisk const
Change-Id: I6141df5776471aea755d0b57b2015571b250088a
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/common/qv4compileddata.cpp')
| -rw-r--r-- | src/qml/common/qv4compileddata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/common/qv4compileddata.cpp b/src/qml/common/qv4compileddata.cpp index d4169a65b3..c290ec25e3 100644 --- a/src/qml/common/qv4compileddata.cpp +++ b/src/qml/common/qv4compileddata.cpp @@ -167,7 +167,7 @@ bool CompilationUnit::loadFromDisk( return false; } -bool CompilationUnit::saveToDisk(const QUrl &unitUrl, QString *errorString) +bool CompilationUnit::saveToDisk(const QUrl &unitUrl, QString *errorString) const { if (unitData()->sourceTimeStamp == 0) { *errorString = QStringLiteral("Missing time stamp for source file"); |
