diff options
Diffstat (limited to 'src/mongo/s/write_ops/batched_command_response.cpp')
-rw-r--r-- | src/mongo/s/write_ops/batched_command_response.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/write_ops/batched_command_response.cpp b/src/mongo/s/write_ops/batched_command_response.cpp index b9527bf9d45..39249363a66 100644 --- a/src/mongo/s/write_ops/batched_command_response.cpp +++ b/src/mongo/s/write_ops/batched_command_response.cpp @@ -384,7 +384,7 @@ void BatchedCommandResponse::unsetErrDetails() { } bool BatchedCommandResponse::isErrDetailsSet() const { - return _writeErrors.is_initialized(); + return _writeErrors.has_value(); } size_t BatchedCommandResponse::sizeErrDetails() const { |