summaryrefslogtreecommitdiff
path: root/src/mongo/s/balance.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 12:46:52 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-05-19 14:43:05 -0400
commitf2bfd36a6f3eb7e7e2587268be3cc12636703d42 (patch)
tree6436772fbceb28f07bbfaee528d700159beb0cec /src/mongo/s/balance.h
parentc10e8282a7af38f8512e911a14889e14df8a2c6a (diff)
downloadmongo-f2bfd36a6f3eb7e7e2587268be3cc12636703d42.tar.gz
SERVER-13256: Remove pch - qualify std in headers
Diffstat (limited to 'src/mongo/s/balance.h')
-rw-r--r--src/mongo/s/balance.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/balance.h b/src/mongo/s/balance.h
index 998d4ec6263..4e97c38b4f4 100644
--- a/src/mongo/s/balance.h
+++ b/src/mongo/s/balance.h
@@ -56,14 +56,14 @@ namespace mongo {
virtual void run();
- virtual string name() const { return "Balancer"; }
+ virtual std::string name() const { return "Balancer"; }
private:
typedef MigrateInfo CandidateChunk;
typedef shared_ptr<CandidateChunk> CandidateChunkPtr;
// hostname:port of my mongos
- string _myid;
+ std::string _myid;
// time the Balancer started running
time_t _started;
@@ -90,7 +90,7 @@ namespace mongo {
* @param conn is the connection with the config server(s)
* @param candidateChunks (IN/OUT) filled with candidate chunks, one per collection, that could possibly be moved
*/
- void _doBalanceRound( DBClientBase& conn, vector<CandidateChunkPtr>* candidateChunks );
+ void _doBalanceRound( DBClientBase& conn, std::vector<CandidateChunkPtr>* candidateChunks );
/**
* Issues chunk migration request, one at a time.
@@ -100,7 +100,7 @@ namespace mongo {
* @param waitForDelete wait for deletes to complete after each chunk move
* @return number of chunks effectively moved
*/
- int _moveChunks(const vector<CandidateChunkPtr>* candidateChunks,
+ int _moveChunks(const std::vector<CandidateChunkPtr>* candidateChunks,
bool secondaryThrottle,
bool waitForDelete);