aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/localstorage/plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/localstorage/plugin.cpp')
-rw-r--r--src/imports/localstorage/plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp
index 8b90f5a685..78c1905d41 100644
--- a/src/imports/localstorage/plugin.cpp
+++ b/src/imports/localstorage/plugin.cpp
@@ -116,7 +116,7 @@ public:
};
V4_OBJECT(Object)
- static QQmlSqlDatabaseWrapper *create(QV8Engine *engine)
+ static QV4::Returned<QQmlSqlDatabaseWrapper> *create(QV8Engine *engine)
{
QV4::ExecutionEngine *e = QV8Engine::getV4(engine);
return e->memoryManager->alloc<QQmlSqlDatabaseWrapper>(e);