aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/src/firebase/firestore/core/relation_filter.h
diff options
context:
space:
mode:
authorGravatar rsgowman <rgowman@google.com>2018-07-17 10:28:25 -0400
committerGravatar GitHub <noreply@github.com>2018-07-17 10:28:25 -0400
commit890321214cc8340c9eb02712f63799085f3ea112 (patch)
tree77df5efbf17c8f9c56f083a599f37a4fc453e8aa /Firestore/core/src/firebase/firestore/core/relation_filter.h
parent6ab0195f11e9a0daab46babf7f894bb08b2ae9c3 (diff)
Port PrimitiveValueTest test for core::Query (#1530)
(From java.) Also fix a bug uncovered by the test. (oops)
Diffstat (limited to 'Firestore/core/src/firebase/firestore/core/relation_filter.h')
-rw-r--r--Firestore/core/src/firebase/firestore/core/relation_filter.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Firestore/core/src/firebase/firestore/core/relation_filter.h b/Firestore/core/src/firebase/firestore/core/relation_filter.h
index 94da208..8110ac1 100644
--- a/Firestore/core/src/firebase/firestore/core/relation_filter.h
+++ b/Firestore/core/src/firebase/firestore/core/relation_filter.h
@@ -35,7 +35,9 @@ class RelationFilter : public Filter {
* Creates a new filter that compares fields and values. Only intended to be
* called from Filter::Create().
*/
- RelationFilter(model::FieldPath field, Operator op, model::FieldValue value);
+ RelationFilter(model::FieldPath field,
+ Operator op,
+ model::FieldValue value_rhs);
const model::FieldPath& field() const override;
@@ -49,7 +51,7 @@ class RelationFilter : public Filter {
const model::FieldPath field_;
const Operator op_;
- const model::FieldValue value_;
+ const model::FieldValue value_rhs_;
};
} // namespace core