aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/common/qv4compileddata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/common/qv4compileddata.cpp')
-rw-r--r--src/qml/common/qv4compileddata.cpp2
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");