summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/facade.h2
-rw-r--r--examples/dummyresource/resourcefactory.cpp1
-rw-r--r--tests/genericresourcetest.cpp6
3 files changed, 1 insertions, 8 deletions
diff --git a/common/facade.h b/common/facade.h
index 13734f0..643ebec 100644
--- a/common/facade.h
+++ b/common/facade.h
@@ -82,7 +82,7 @@ private:
82 qint64 mLatestRevision; 82 qint64 mLatestRevision;
83}; 83};
84 84
85static ResultSet fullScan(const Akonadi2::Storage::Transaction &transaction, const QByteArray &bufferType) 85static inline ResultSet fullScan(const Akonadi2::Storage::Transaction &transaction, const QByteArray &bufferType)
86{ 86{
87 //TODO use a result set with an iterator, to read values on demand 87 //TODO use a result set with an iterator, to read values on demand
88 QVector<QByteArray> keys; 88 QVector<QByteArray> keys;
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp
index b742611..397ca5f 100644
--- a/examples/dummyresource/resourcefactory.cpp
+++ b/examples/dummyresource/resourcefactory.cpp
@@ -230,4 +230,3 @@ void DummyResourceFactory::registerFacades(Akonadi2::FacadeFactory &factory)
230 factory.registerFacade<Akonadi2::ApplicationDomain::Mail, DummyResourceMailFacade>(PLUGIN_NAME); 230 factory.registerFacade<Akonadi2::ApplicationDomain::Mail, DummyResourceMailFacade>(PLUGIN_NAME);
231} 231}
232 232
233#include "resourcefactory.moc"
diff --git a/tests/genericresourcetest.cpp b/tests/genericresourcetest.cpp
index 141a5f8..0c64659 100644
--- a/tests/genericresourcetest.cpp
+++ b/tests/genericresourcetest.cpp
@@ -14,12 +14,6 @@
14#include "genericresource.h" 14#include "genericresource.h"
15#include "definitions.h" 15#include "definitions.h"
16 16
17static void removeFromDisk(const QString &name)
18{
19 Akonadi2::Storage store(Akonadi2::storageLocation(), name, Akonadi2::Storage::ReadWrite);
20 store.removeFromDisk();
21}
22
23/** 17/**
24 * Test of the generic resource implementation. 18 * Test of the generic resource implementation.
25 * 19 *