diff options
author | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2014-11-11 18:08:20 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2014-11-15 00:32:45 +0100 |
commit | ad342b052473a8ec8c693591a8a882313ccd7d62 (patch) | |
tree | 502172a96bd56cda918a5552017f95308ee15f9f /src/imports | |
parent | d4d92ab002bab0fdb8ddbac4babad260ed75d090 (diff) |
Changed MemoryManager::alloc<T> to return Heap::T* instead of T*
Change-Id: Iede1ba624d1313fbe2f8e5e979e936f1f32efdc9
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/localstorage/plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imports/localstorage/plugin.cpp b/src/imports/localstorage/plugin.cpp index eca8f40e30..93c1283ea6 100644 --- a/src/imports/localstorage/plugin.cpp +++ b/src/imports/localstorage/plugin.cpp @@ -117,7 +117,7 @@ class QQmlSqlDatabaseWrapper : public Object public: V4_OBJECT2(QQmlSqlDatabaseWrapper, Object) - static QV4::Returned<QQmlSqlDatabaseWrapper> *create(QV8Engine *engine) + static Heap::QQmlSqlDatabaseWrapper *create(QV8Engine *engine) { QV4::ExecutionEngine *e = QV8Engine::getV4(engine); return e->memoryManager->alloc<QQmlSqlDatabaseWrapper>(e); |