summaryrefslogtreecommitdiffstats
path: root/common/datastorequery.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-17 22:35:27 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-21 09:18:49 +0200
commit2a9c738b813133d398683596df6d41d355e3cb3b (patch)
treeaddb16588fd31f8773120ba5600d82079fa9fd9e /common/datastorequery.cpp
parente661bd33b7bf8da546cbdbe23c9ddcf568930a1a (diff)
downloadsink-2a9c738b813133d398683596df6d41d355e3cb3b.tar.gz
sink-2a9c738b813133d398683596df6d41d355e3cb3b.zip
We no longer access the typeindex directly
Diffstat (limited to 'common/datastorequery.cpp')
-rw-r--r--common/datastorequery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp
index d4a83b1..8897c29 100644
--- a/common/datastorequery.cpp
+++ b/common/datastorequery.cpp
@@ -300,8 +300,8 @@ public:
300 } 300 }
301}; 301};
302 302
303DataStoreQuery::DataStoreQuery(const Sink::Query &query, const QByteArray &type, EntityStore::Ptr store, TypeIndex &typeIndex, std::function<QVariant(const Sink::Entity &entity, const QByteArray &property)> getProperty) 303DataStoreQuery::DataStoreQuery(const Sink::Query &query, const QByteArray &type, EntityStore::Ptr store, std::function<QVariant(const Sink::Entity &entity, const QByteArray &property)> getProperty)
304 : mQuery(query), mType(type), mTypeIndex(typeIndex), mGetProperty(getProperty), mStore(store) 304 : mQuery(query), mType(type), mGetProperty(getProperty), mStore(store)
305{ 305{
306 setupQuery(); 306 setupQuery();
307} 307}