summaryrefslogtreecommitdiff
path: root/src/mongo/s/balance.h
diff options
context:
space:
mode:
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);