Skip to content

Commit d5f665b

Browse files
dranikpgkostasrim
andauthored
Update src/server/search/doc_index.cc
Co-authored-by: Kostas Kyrimis <[email protected]> Signed-off-by: Vladislav <[email protected]>
1 parent b791170 commit d5f665b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/search/doc_index.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ bool DocIndex::Matches(string_view key, unsigned obj_code) const {
151151
}
152152

153153
ShardDocIndex::ShardDocIndex(shared_ptr<DocIndex> index)
154-
: base_{index}, indices_{{}}, key_index_{} {
154+
: base_{std::move(index)}, indices_{}, key_index_{} {
155155
}
156156

157157
void ShardDocIndex::Rebuild(const OpArgs& op_args) {

0 commit comments

Comments
 (0)