aboutsummaryrefslogtreecommitdiff
path: root/icing/index/main/main-index.cc
diff options
context:
space:
mode:
Diffstat (limited to 'icing/index/main/main-index.cc')
-rw-r--r--icing/index/main/main-index.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/icing/index/main/main-index.cc b/icing/index/main/main-index.cc
index 35ed7ad..2d6007b 100644
--- a/icing/index/main/main-index.cc
+++ b/icing/index/main/main-index.cc
@@ -612,7 +612,7 @@ IndexDebugInfoProto::MainIndexDebugInfoProto MainIndex::GetDebugInfo(
IndexDebugInfoProto::MainIndexDebugInfoProto res;
// Lexicon.
- *res.mutable_lexicon_info() = main_lexicon_->GetDebugInfo(verbosity);
+ main_lexicon_->GetDebugInfo(verbosity, res.mutable_lexicon_info());
res.set_last_added_document_id(last_added_document_id());