mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 09:32:32 +01:00
Chunk doesn't need shared_from_this anymore
This commit is contained in:
parent
e15ca90662
commit
0ca8059539
@ -52,7 +52,7 @@ namespace mongo {
|
||||
x is in a shard iff
|
||||
min <= x < max
|
||||
*/
|
||||
class Chunk : boost::noncopyable, public boost::enable_shared_from_this<Chunk> {
|
||||
class Chunk : boost::noncopyable {
|
||||
public:
|
||||
Chunk( const ChunkManager * info , BSONObj from);
|
||||
Chunk( const ChunkManager * info , const BSONObj& min, const BSONObj& max, const Shard& shard);
|
||||
|
Loading…
Reference in New Issue
Block a user