Skip to content

Commit 1c65cb5

Browse files
committed
query_main.h: fix build error due to Filter being renamed to FieldFilter.
This fixes the following build error in `ubuntu-latest-Release-x64-static`: ``` firestore/src/main/query_main.h:185:34: error: no type named 'Operator' in 'firebase::firestore::core::Filter' using Operator = core::Filter::Operator; ~~~~~~~~~~~~~~^ ``` e.g. https://github.com/firebase/firebase-cpp-sdk/runs/6065960625
1 parent fda50ae commit 1c65cb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firestore/src/main/query_main.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class QueryInternal {
182182
kEndAt,
183183
};
184184

185-
using Operator = core::Filter::Operator;
185+
using Operator = core::FieldFilter::Operator;
186186

187187
Query Where(const FieldPath& field,
188188
Operator op,

0 commit comments

Comments
 (0)