aboutsummaryrefslogtreecommitdiff
path: root/icing/query/query-terms.h
diff options
context:
space:
mode:
Diffstat (limited to 'icing/query/query-terms.h')
-rw-r--r--icing/query/query-terms.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/icing/query/query-terms.h b/icing/query/query-terms.h
index 1c5ce02..b186218 100644
--- a/icing/query/query-terms.h
+++ b/icing/query/query-terms.h
@@ -26,7 +26,7 @@ namespace lib {
// A map from section names to sets of terms restricted to those sections.
// Query terms that are not restricted are found at the entry with key "".
using SectionRestrictQueryTermsMap =
- std::unordered_map<std::string_view, std::unordered_set<std::string>>;
+ std::unordered_map<std::string, std::unordered_set<std::string>>;
} // namespace lib
} // namespace icing