diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-08-26 11:56:20 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-08-26 11:56:20 -0400 |
commit | b81407f19142d0af0b8fda2035eb0cc5860d0758 (patch) | |
tree | 4bee400aff5f2af7d2e0e34143ff0f7a44ce7508 /src/mongo/s/chunk.h | |
parent | 48ec3f8b9cd41584cebf62d4d6d2269a18a7bf91 (diff) | |
download | mongo-b81407f19142d0af0b8fda2035eb0cc5860d0758.tar.gz |
SERVER-20131 Take ChunkType by reference in Chunk constructor
Diffstat (limited to 'src/mongo/s/chunk.h')
-rw-r--r-- | src/mongo/s/chunk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk.h b/src/mongo/s/chunk.h index 1a45a2c4b02..1cf1eb4be38 100644 --- a/src/mongo/s/chunk.h +++ b/src/mongo/s/chunk.h @@ -63,7 +63,7 @@ public: autoSplitInternal }; - Chunk(OperationContext* txn, const ChunkManager* info, ChunkType from); + Chunk(OperationContext* txn, const ChunkManager* info, const ChunkType& from); Chunk(const ChunkManager* info, const BSONObj& min, const BSONObj& max, |