summaryrefslogtreecommitdiffstats
path: root/common/resourcecontrol.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-08 15:24:37 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-08 15:24:37 +0100
commit5255876dde678aa7d5af8020d5836b1fc6c58fc7 (patch)
treef11a954b784418e76d73b29c3e8b44ececa511bb /common/resourcecontrol.cpp
parentae4b64b198a143240aa5dd1e202e5016abfdae71 (diff)
downloadsink-5255876dde678aa7d5af8020d5836b1fc6c58fc7.tar.gz
sink-5255876dde678aa7d5af8020d5836b1fc6c58fc7.zip
Let the preprocessor repeat the types.
Diffstat (limited to 'common/resourcecontrol.cpp')
-rw-r--r--common/resourcecontrol.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/common/resourcecontrol.cpp b/common/resourcecontrol.cpp
index f885deb..c1fbf06 100644
--- a/common/resourcecontrol.cpp
+++ b/common/resourcecontrol.cpp
@@ -158,9 +158,6 @@ KAsync::Job<void> ResourceControl::inspect(const Inspection &inspectionCommand)
158 158
159#define REGISTER_TYPE(T) template KAsync::Job<void> ResourceControl::inspect<T>(const Inspection &); 159#define REGISTER_TYPE(T) template KAsync::Job<void> ResourceControl::inspect<T>(const Inspection &);
160 160
161REGISTER_TYPE(ApplicationDomain::Event); 161SINK_REGISTER_TYPES()
162REGISTER_TYPE(ApplicationDomain::Mail);
163REGISTER_TYPE(ApplicationDomain::Folder);
164REGISTER_TYPE(ApplicationDomain::SinkResource);
165 162
166} // namespace Sink 163} // namespace Sink