summaryrefslogtreecommitdiff
path: root/src/mongo/rpc
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2022-08-15 18:56:44 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-16 23:42:26 +0000
commitfa82903f53a8e779ba0414849846c4c072b5a1e8 (patch)
treec7a2ff533f9c834e046b693c588a9a002cbcec7c /src/mongo/rpc
parent707ba0a0ade42c4540b9cabaaf5a257de944cc3e (diff)
downloadmongo-fa82903f53a8e779ba0414849846c4c072b5a1e8.tar.gz
SERVER-68848 explicit IDLParserContext unary ctor
Diffstat (limited to 'src/mongo/rpc')
-rw-r--r--src/mongo/rpc/write_concern_error_detail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/rpc/write_concern_error_detail.cpp b/src/mongo/rpc/write_concern_error_detail.cpp
index 78767dfe43e..9e61408586e 100644
--- a/src/mongo/rpc/write_concern_error_detail.cpp
+++ b/src/mongo/rpc/write_concern_error_detail.cpp
@@ -82,7 +82,7 @@ bool WriteConcernErrorDetail::parseBSON(const BSONObj& source, string* errMsg) {
errMsg = &dummy;
try {
- auto wce = WriteConcernError::parse({"writeConcernError"}, source);
+ auto wce = WriteConcernError::parse(IDLParserContext{"writeConcernError"}, source);
_status = Status(ErrorCodes::Error(wce.getCode()), wce.getErrmsg(), source);
if ((_isErrInfoSet = wce.getErrInfo().has_value())) {
_errInfo = wce.getErrInfo().value().getOwned();