summaryrefslogtreecommitdiff
path: root/src/mongo/executor/remote_command_response.cpp
diff options
context:
space:
mode:
authorBilly Donahue <BillyDonahue@users.noreply.github.com>2022-07-27 18:17:24 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-07-27 19:38:08 +0000
commit958ad9abfc80861d3f43f44da694e83464b01e1d (patch)
treeca14e7097c1cb8ab20dfad7fa6888511f0226650 /src/mongo/executor/remote_command_response.cpp
parentf8a1ac19be6279e7ace012dafa8cfcaa028d49e1 (diff)
downloadmongo-958ad9abfc80861d3f43f44da694e83464b01e1d.tar.gz
SERVER-68246 rewrite calls to boost::optional get and is_initialized
Diffstat (limited to 'src/mongo/executor/remote_command_response.cpp')
-rw-r--r--src/mongo/executor/remote_command_response.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/executor/remote_command_response.cpp b/src/mongo/executor/remote_command_response.cpp
index 64e26295c87..8a751665a55 100644
--- a/src/mongo/executor/remote_command_response.cpp
+++ b/src/mongo/executor/remote_command_response.cpp
@@ -165,7 +165,7 @@ std::string RemoteCommandOnAnyResponse::toString() const {
data.toString(),
target ? StringData(target->toString()) : "[none]"_sd,
status.toString(),
- elapsed ? StringData(elapsed.get().toString()) : "n/a"_sd,
+ elapsed ? StringData(elapsed.value().toString()) : "n/a"_sd,
moreToCome);
}