diff options
Diffstat (limited to 'icing/result/projection-tree.cc')
-rw-r--r-- | icing/result/projection-tree.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/icing/result/projection-tree.cc b/icing/result/projection-tree.cc index fded576..9896491 100644 --- a/icing/result/projection-tree.cc +++ b/icing/result/projection-tree.cc @@ -22,8 +22,9 @@ namespace icing { namespace lib { -ProjectionTree::ProjectionTree(const TypePropertyMask& type_field_mask) { - for (const std::string& field_mask : type_field_mask.paths()) { +ProjectionTree::ProjectionTree( + const SchemaStore::ExpandedTypePropertyMask& type_field_mask) { + for (const std::string& field_mask : type_field_mask.paths) { Node* current_node = &root_; for (std::string_view sub_field_mask : property_util::SplitPropertyPathExpr(field_mask)) { |