summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-08-26 11:56:20 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-08-26 11:56:20 -0400
commitb81407f19142d0af0b8fda2035eb0cc5860d0758 (patch)
tree4bee400aff5f2af7d2e0e34143ff0f7a44ce7508 /src/mongo/s/chunk.h
parent48ec3f8b9cd41584cebf62d4d6d2269a18a7bf91 (diff)
downloadmongo-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.h2
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,