diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-08 15:24:37 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-08 15:24:37 +0100 |
commit | 5255876dde678aa7d5af8020d5836b1fc6c58fc7 (patch) | |
tree | f11a954b784418e76d73b29c3e8b44ececa511bb /common/synchronizer.cpp | |
parent | ae4b64b198a143240aa5dd1e202e5016abfdae71 (diff) | |
download | sink-5255876dde678aa7d5af8020d5836b1fc6c58fc7.tar.gz sink-5255876dde678aa7d5af8020d5836b1fc6c58fc7.zip |
Let the preprocessor repeat the types.
Diffstat (limited to 'common/synchronizer.cpp')
-rw-r--r-- | common/synchronizer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/common/synchronizer.cpp b/common/synchronizer.cpp index fec848f..d94eb43 100644 --- a/common/synchronizer.cpp +++ b/common/synchronizer.cpp | |||
@@ -484,10 +484,5 @@ bool Synchronizer::allChangesReplayed() | |||
484 | template void Synchronizer::createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const T &entity, const QHash<QByteArray, Sink::Query::Comparator> &mergeCriteria); \ | 484 | template void Synchronizer::createOrModify(const QByteArray &bufferType, const QByteArray &remoteId, const T &entity, const QHash<QByteArray, Sink::Query::Comparator> &mergeCriteria); \ |
485 | template void Synchronizer::modify(const T &entity, const QByteArray &newResource, bool remove); | 485 | template void Synchronizer::modify(const T &entity, const QByteArray &newResource, bool remove); |
486 | 486 | ||
487 | #define SINK_REGISTER_TYPES() \ | ||
488 | REGISTER_TYPE(ApplicationDomain::Event); \ | ||
489 | REGISTER_TYPE(ApplicationDomain::Mail); \ | ||
490 | REGISTER_TYPE(ApplicationDomain::Folder); \ | ||
491 | |||
492 | SINK_REGISTER_TYPES() | 487 | SINK_REGISTER_TYPES() |
493 | 488 | ||