summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cahill <michael.cahill@mongodb.com>2015-11-13 17:22:16 +1100
committerMichael Cahill <michael.cahill@mongodb.com>2015-11-13 17:22:16 +1100
commiteb905b18f7987dc2e67bc532895013f66ca723e8 (patch)
tree82b9884d9830f2dfc034dc65ea85dee01f16ba66
parent2a168d1195afebdfe9357c2f0be9144186514a16 (diff)
downloadmongo-eb905b18f7987dc2e67bc532895013f66ca723e8.tar.gz
SERVER-20876 Backport seekExact to 3.0 (lint)
-rw-r--r--src/mongo/db/storage/sorted_data_interface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/db/storage/sorted_data_interface.h b/src/mongo/db/storage/sorted_data_interface.h
index 41d52c52273..3fe98e59edf 100644
--- a/src/mongo/db/storage/sorted_data_interface.h
+++ b/src/mongo/db/storage/sorted_data_interface.h
@@ -224,10 +224,10 @@ public:
virtual bool locate(const BSONObj& key, const RecordId& loc) = 0;
/**
- * Position 'this' forward (reverse) cursor at the first (last) entry
- * with the specified key. The cursor should be positioned at EOF or at
- * the entry immediately after (before) the specified key if no such
- * entry exists.
+ * Position 'this' forward (reverse) cursor at the first (last) entry
+ * with the specified key. The cursor should be positioned at EOF or at
+ * the entry immediately after (before) the specified key if no such
+ * entry exists.
*/
virtual void seekExact(const BSONObj& key) {
(void)locate(key, getDirection() == 1 ? RecordId::min() : RecordId::max());