summaryrefslogtreecommitdiff
path: root/src/mongo/s/write_ops/batch_downconvert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/write_ops/batch_downconvert.h')
-rw-r--r--src/mongo/s/write_ops/batch_downconvert.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mongo/s/write_ops/batch_downconvert.h b/src/mongo/s/write_ops/batch_downconvert.h
index 521a48143eb..391c328a7f9 100644
--- a/src/mongo/s/write_ops/batch_downconvert.h
+++ b/src/mongo/s/write_ops/batch_downconvert.h
@@ -101,8 +101,8 @@ namespace mongo {
// Helper that acts as an auto-ptr for write and wc errors
struct GLEErrors {
- auto_ptr<WriteErrorDetail> writeError;
- auto_ptr<WCErrorDetail> wcError;
+ std::auto_ptr<WriteErrorDetail> writeError;
+ std::auto_ptr<WCErrorDetail> wcError;
};
/**
@@ -140,9 +140,9 @@ namespace mongo {
// Used for reporting legacy write concern responses
struct LegacyWCResponse {
- string shardHost;
+ std::string shardHost;
BSONObj gleResponse;
- string errToReport;
+ std::string errToReport;
};
/**
@@ -156,5 +156,5 @@ namespace mongo {
const StringData& dbName,
const BSONObj& options,
const HostOpTimeMap& hostOpTimes,
- vector<LegacyWCResponse>* wcResponses );
+ std::vector<LegacyWCResponse>* wcResponses );
}