summaryrefslogtreecommitdiff
path: root/src/mongo/db/record_id_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/record_id_helpers.h')
-rw-r--r--src/mongo/db/record_id_helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/record_id_helpers.h b/src/mongo/db/record_id_helpers.h
index 7efe36ada9b..4e4e2d108f7 100644
--- a/src/mongo/db/record_id_helpers.h
+++ b/src/mongo/db/record_id_helpers.h
@@ -51,6 +51,7 @@ StatusWith<RecordId> keyForOptime(const Timestamp& opTime);
StatusWith<RecordId> keyForDoc(const BSONObj& doc);
RecordId keyForElem(const BSONElement& elem);
RecordId keyForOID(OID oid);
+RecordId keyForDate(Date_t date);
/**
* data and len must be the arguments from RecordStore::insert() on an oplog collection.