summaryrefslogtreecommitdiff
path: root/src/mongo/db/catalog/index_consistency.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/catalog/index_consistency.h')
-rw-r--r--src/mongo/db/catalog/index_consistency.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/catalog/index_consistency.h b/src/mongo/db/catalog/index_consistency.h
index dab1d2d8d97..ade97d20918 100644
--- a/src/mongo/db/catalog/index_consistency.h
+++ b/src/mongo/db/catalog/index_consistency.h
@@ -108,7 +108,7 @@ public:
void addDocKey(OperationContext* opCtx,
const KeyString::Value& ks,
IndexInfo* indexInfo,
- RecordId recordId);
+ const RecordId& recordId);
/**
* During the first phase of validation, given the index entry's KeyString, decrement the
@@ -119,7 +119,7 @@ public:
void addIndexKey(OperationContext* opCtx,
const KeyString::Value& ks,
IndexInfo* indexInfo,
- RecordId recordId,
+ const RecordId& recordId,
ValidateResults* results);
/**
@@ -232,7 +232,7 @@ private:
*/
BSONObj _generateInfo(const std::string& indexName,
const BSONObj& keyPattern,
- RecordId recordId,
+ const RecordId& recordId,
const BSONObj& indexKey,
const BSONObj& idKey);