diff options
Diffstat (limited to 'src/mongo/s/write_ops/write_error_detail.h')
-rw-r--r-- | src/mongo/s/write_ops/write_error_detail.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/write_ops/write_error_detail.h b/src/mongo/s/write_ops/write_error_detail.h index 299285cf109..49f9b2d8384 100644 --- a/src/mongo/s/write_ops/write_error_detail.h +++ b/src/mongo/s/write_ops/write_error_detail.h @@ -93,7 +93,7 @@ namespace mongo { bool isErrInfoSet() const; const BSONObj& getErrInfo() const; - void setErrMessage(const StringData& errMessage); + void setErrMessage(StringData errMessage); void unsetErrMessage(); bool isErrMessageSet() const; const std::string& getErrMessage() const; |