summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-25 18:38:18 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-25 18:38:18 +0200
commit7f0f45c544b3a48feec3226faa8bb3018d542d9c (patch)
tree9657f9db58d84397b20090b5b6a5a8377ae893ed
parent8dbd8979de794217d4b7e885d9a5524be444d646 (diff)
downloadsink-7f0f45c544b3a48feec3226faa8bb3018d542d9c.tar.gz
sink-7f0f45c544b3a48feec3226faa8bb3018d542d9c.zip
More warnings
-rw-r--r--common/resultprovider.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/common/resultprovider.h b/common/resultprovider.h
index e41950d..87d650f 100644
--- a/common/resultprovider.h
+++ b/common/resultprovider.h
@@ -81,28 +81,28 @@ public:
81 } 81 }
82 82
83 // Called from worker thread 83 // Called from worker thread
84 void add(const T &value) 84 void add(const T &value) Q_DECL_OVERRIDE
85 { 85 {
86 if (auto strongRef = mResultEmitter.toStrongRef()) { 86 if (auto strongRef = mResultEmitter.toStrongRef()) {
87 strongRef->add(value); 87 strongRef->add(value);
88 } 88 }
89 } 89 }
90 90
91 void modify(const T &value) 91 void modify(const T &value) Q_DECL_OVERRIDE
92 { 92 {
93 if (auto strongRef = mResultEmitter.toStrongRef()) { 93 if (auto strongRef = mResultEmitter.toStrongRef()) {
94 strongRef->modify(value); 94 strongRef->modify(value);
95 } 95 }
96 } 96 }
97 97
98 void remove(const T &value) 98 void remove(const T &value) Q_DECL_OVERRIDE
99 { 99 {
100 if (auto strongRef = mResultEmitter.toStrongRef()) { 100 if (auto strongRef = mResultEmitter.toStrongRef()) {
101 strongRef->remove(value); 101 strongRef->remove(value);
102 } 102 }
103 } 103 }
104 104
105 void initialResultSetComplete(bool replayedAll) 105 void initialResultSetComplete(bool replayedAll) Q_DECL_OVERRIDE
106 { 106 {
107 if (auto strongRef = mResultEmitter.toStrongRef()) { 107 if (auto strongRef = mResultEmitter.toStrongRef()) {
108 strongRef->initialResultSetComplete(replayedAll); 108 strongRef->initialResultSetComplete(replayedAll);
@@ -110,14 +110,14 @@ public:
110 } 110 }
111 111
112 // Called from worker thread 112 // Called from worker thread
113 void complete() 113 void complete() Q_DECL_OVERRIDE
114 { 114 {
115 if (auto strongRef = mResultEmitter.toStrongRef()) { 115 if (auto strongRef = mResultEmitter.toStrongRef()) {
116 strongRef->complete(); 116 strongRef->complete();
117 } 117 }
118 } 118 }
119 119
120 void clear() 120 void clear() Q_DECL_OVERRIDE
121 { 121 {
122 if (auto strongRef = mResultEmitter.toStrongRef()) { 122 if (auto strongRef = mResultEmitter.toStrongRef()) {
123 strongRef->clear(); 123 strongRef->clear();
@@ -155,7 +155,7 @@ public:
155 return mResultEmitter.toStrongRef().isNull(); 155 return mResultEmitter.toStrongRef().isNull();
156 } 156 }
157 157
158 void setFetcher(const std::function<void()> &fetcher) 158 void setFetcher(const std::function<void()> &fetcher) Q_DECL_OVERRIDE
159 { 159 {
160 mFetcher = fetcher; 160 mFetcher = fetcher;
161 } 161 }