summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk_manager.h')
-rw-r--r--src/mongo/s/chunk_manager.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mongo/s/chunk_manager.h b/src/mongo/s/chunk_manager.h
index d187abf81f5..995c7916f77 100644
--- a/src/mongo/s/chunk_manager.h
+++ b/src/mongo/s/chunk_manager.h
@@ -28,7 +28,6 @@
#pragma once
-#include <boost/shared_ptr.hpp>
#include <map>
#include <string>
#include <vector>
@@ -42,10 +41,10 @@ namespace mongo {
class CollectionType;
struct QuerySolutionNode;
- typedef boost::shared_ptr<ChunkManager> ChunkManagerPtr;
+ typedef std::shared_ptr<ChunkManager> ChunkManagerPtr;
// The key for the map is max for each Chunk or ChunkRange
- typedef std::map<BSONObj, boost::shared_ptr<Chunk>, BSONObjCmp> ChunkMap;
+ typedef std::map<BSONObj, std::shared_ptr<Chunk>, BSONObjCmp> ChunkMap;
class ChunkRange {
@@ -78,7 +77,7 @@ namespace mongo {
const BSONObj _max;
};
- typedef std::map<BSONObj, boost::shared_ptr<ChunkRange>, BSONObjCmp> ChunkRangeMap;
+ typedef std::map<BSONObj, std::shared_ptr<ChunkRange>, BSONObjCmp> ChunkRangeMap;
class ChunkRangeManager {
@@ -206,7 +205,7 @@ namespace mongo {
int getCurrentDesiredChunkSize() const;
- boost::shared_ptr<ChunkManager> reload(bool force = true) const; // doesn't modify self!
+ std::shared_ptr<ChunkManager> reload(bool force = true) const; // doesn't modify self!
private:
// returns true if load was consistent