diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-07 19:21:05 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-07 19:21:05 +0100 |
commit | 2660a30589af9d01798b04a6fd1e9090a1f0cdd0 (patch) | |
tree | bbaac6c1e382f9c8bdf985276e26dd130db3847b /common/query.h | |
parent | e511841292d241fb9175a712184900ae69ed8685 (diff) | |
download | sink-2660a30589af9d01798b04a6fd1e9090a1f0cdd0.tar.gz sink-2660a30589af9d01798b04a6fd1e9090a1f0cdd0.zip |
Fixed flag testing
Diffstat (limited to 'common/query.h')
-rw-r--r-- | common/query.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/query.h b/common/query.h index 70b6d63..4a73357 100644 --- a/common/query.h +++ b/common/query.h | |||
@@ -369,12 +369,12 @@ public: | |||
369 | 369 | ||
370 | bool liveQuery() const | 370 | bool liveQuery() const |
371 | { | 371 | { |
372 | return mFlags & LiveQuery; | 372 | return mFlags.testFlag(LiveQuery); |
373 | } | 373 | } |
374 | 374 | ||
375 | bool synchronousQuery() const | 375 | bool synchronousQuery() const |
376 | { | 376 | { |
377 | return mFlags & SynchronousQuery; | 377 | return mFlags.testFlag(SynchronousQuery); |
378 | } | 378 | } |
379 | 379 | ||
380 | Filter getResourceFilter() const | 380 | Filter getResourceFilter() const |