summaryrefslogtreecommitdiffstats
path: root/common/facade.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-15 00:14:45 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-07-15 00:14:45 +0200
commitc563ee72f25c42a1c6f492c5f2d4e56c2c91df2a (patch)
tree223e06f85324baec70a8a1a5d27e766e6f9523af /common/facade.h
parent64f4244f5b5a2e830a240b6962c6708bd12a6d35 (diff)
downloadsink-c563ee72f25c42a1c6f492c5f2d4e56c2c91df2a.tar.gz
sink-c563ee72f25c42a1c6f492c5f2d4e56c2c91df2a.zip
Don't require a smartpointer where not necessary
Diffstat (limited to 'common/facade.h')
-rw-r--r--common/facade.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/facade.h b/common/facade.h
index ad79213..abd4113 100644
--- a/common/facade.h
+++ b/common/facade.h
@@ -330,7 +330,7 @@ protected:
330 resultProvider->clear(); 330 resultProvider->clear();
331 auto resultCallback = std::bind(&Akonadi2::ResultProvider<typename DomainType::Ptr>::add, resultProvider, std::placeholders::_1); 331 auto resultCallback = std::bind(&Akonadi2::ResultProvider<typename DomainType::Ptr>::add, resultProvider, std::placeholders::_1);
332 while(resultSet.next([resultCallback](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &value) -> bool { 332 while(resultSet.next([resultCallback](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &value) -> bool {
333 resultCallback(Akonadi2::ApplicationDomain::ApplicationDomainType::getInMemoryRepresentation<DomainType>(value)); 333 resultCallback(Akonadi2::ApplicationDomain::ApplicationDomainType::getInMemoryRepresentation<DomainType>(*value));
334 return true; 334 return true;
335 })){}; 335 })){};
336 storage->abortTransaction(); 336 storage->abortTransaction();