diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-12 16:12:05 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-12 16:12:05 +0100 |
commit | a48edff7a21ef6426baa1cc6eca501930cb35645 (patch) | |
tree | e32f567657e6114ac17a4af7546e55df58a094c9 /common/pipeline.cpp | |
parent | 1d9e0016d63f9b5d86d54cfa0f396d3ea24a2db6 (diff) | |
download | sink-a48edff7a21ef6426baa1cc6eca501930cb35645.tar.gz sink-a48edff7a21ef6426baa1cc6eca501930cb35645.zip |
Fixed build issues with pedantic enabled
Diffstat (limited to 'common/pipeline.cpp')
-rw-r--r-- | common/pipeline.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/pipeline.cpp b/common/pipeline.cpp index 32f6454..701c720 100644 --- a/common/pipeline.cpp +++ b/common/pipeline.cpp | |||
@@ -41,8 +41,6 @@ | |||
41 | #include "storage/entitystore.h" | 41 | #include "storage/entitystore.h" |
42 | #include "store.h" | 42 | #include "store.h" |
43 | 43 | ||
44 | SINK_DEBUG_AREA("pipeline") | ||
45 | |||
46 | using namespace Sink; | 44 | using namespace Sink; |
47 | using namespace Sink::Storage; | 45 | using namespace Sink::Storage; |
48 | 46 | ||
@@ -271,7 +269,7 @@ KAsync::Job<qint64> Pipeline::modifiedEntity(void const *command, size_t size) | |||
271 | } | 269 | } |
272 | 270 | ||
273 | // Remove deletions | 271 | // Remove deletions |
274 | for (const auto property : deletions) { | 272 | for (const auto &property : deletions) { |
275 | newEntity.setProperty(property, QVariant()); | 273 | newEntity.setProperty(property, QVariant()); |
276 | } | 274 | } |
277 | newEntity.setResource(targetResource); | 275 | newEntity.setResource(targetResource); |