diff options
Diffstat (limited to 'common/query.h')
-rw-r--r-- | common/query.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/common/query.h b/common/query.h index 8f69cb7..b69639b 100644 --- a/common/query.h +++ b/common/query.h | |||
@@ -455,6 +455,7 @@ public: | |||
455 | } | 455 | } |
456 | 456 | ||
457 | private: | 457 | private: |
458 | friend class SyncScope; | ||
458 | int mLimit; | 459 | int mLimit; |
459 | Flags mFlags; | 460 | Flags mFlags; |
460 | Filter mResourceFilter; | 461 | Filter mResourceFilter; |
@@ -467,8 +468,9 @@ public: | |||
467 | 468 | ||
468 | SyncScope() = default; | 469 | SyncScope() = default; |
469 | 470 | ||
470 | SyncScope(const QueryBase &other) | 471 | SyncScope(const Query &other) |
471 | : QueryBase(other) | 472 | : QueryBase(other), |
473 | mResourceFilter(other.mResourceFilter) | ||
472 | { | 474 | { |
473 | 475 | ||
474 | } | 476 | } |