diff options
author | Billy Donahue <BillyDonahue@users.noreply.github.com> | 2022-07-27 18:17:24 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-07-27 19:38:08 +0000 |
commit | 958ad9abfc80861d3f43f44da694e83464b01e1d (patch) | |
tree | ca14e7097c1cb8ab20dfad7fa6888511f0226650 /src/mongo/db/index_build_entry_helpers.cpp | |
parent | f8a1ac19be6279e7ace012dafa8cfcaa028d49e1 (diff) | |
download | mongo-958ad9abfc80861d3f43f44da694e83464b01e1d.tar.gz |
SERVER-68246 rewrite calls to boost::optional get and is_initialized
Diffstat (limited to 'src/mongo/db/index_build_entry_helpers.cpp')
-rw-r--r-- | src/mongo/db/index_build_entry_helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_build_entry_helpers.cpp b/src/mongo/db/index_build_entry_helpers.cpp index 901c37a98f5..e5f83f1918b 100644 --- a/src/mongo/db/index_build_entry_helpers.cpp +++ b/src/mongo/db/index_build_entry_helpers.cpp @@ -101,7 +101,7 @@ std::pair<const BSONObj, const BSONObj> buildIndexBuildEntryFilterAndUpdate( // '$addToSet' to prevent any duplicate entries written to "commitReadyMembers" field. if (auto commitReadyMembers = indexBuildEntry.getCommitReadyMembers()) { BSONArrayBuilder arrayBuilder; - for (const auto& item : commitReadyMembers.get()) { + for (const auto& item : commitReadyMembers.value()) { arrayBuilder.append(item.toString()); } const auto commitReadyMemberList = BSON(IndexBuildEntry::kCommitReadyMembersFieldName |