summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_diff_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk_diff_test.cpp')
-rw-r--r--src/mongo/s/chunk_diff_test.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/s/chunk_diff_test.cpp b/src/mongo/s/chunk_diff_test.cpp
index fee3d67743e..888bf8f1809 100644
--- a/src/mongo/s/chunk_diff_test.cpp
+++ b/src/mongo/s/chunk_diff_test.cpp
@@ -64,11 +64,11 @@ public:
return true;
}
- virtual pair<BSONObj, BSONObj> rangeFor(OperationContext* txn, const ChunkType& chunk) const {
+ virtual pair<BSONObj, BSONObj> rangeFor(OperationContext* opCtx, const ChunkType& chunk) const {
return make_pair(chunk.getMin(), chunk.getMax());
}
- virtual ShardId shardFor(OperationContext* txn, const ShardId& name) const {
+ virtual ShardId shardFor(OperationContext* opCtx, const ShardId& name) const {
return name;
}
};
@@ -84,7 +84,7 @@ public:
return false;
}
- virtual pair<BSONObj, BSONObj> rangeFor(OperationContext* txn, const ChunkType& chunk) const {
+ virtual pair<BSONObj, BSONObj> rangeFor(OperationContext* opCtx, const ChunkType& chunk) const {
return make_pair(chunk.getMax(), chunk.getMin());
}
};