summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair_database.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repair_database.h')
-rw-r--r--src/mongo/db/repair_database.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/repair_database.h b/src/mongo/db/repair_database.h
index 50fed16a86c..6989515b7c6 100644
--- a/src/mongo/db/repair_database.h
+++ b/src/mongo/db/repair_database.h
@@ -33,6 +33,7 @@
#include <string>
#include "mongo/bson/bsonobj.h"
+#include "mongo/db/record_id.h"
namespace mongo {
class Collection;
@@ -52,7 +53,7 @@ typedef std::pair<std::vector<std::string>, std::vector<BSONObj>> IndexNameObjs;
* should be included in the result.
*/
StatusWith<IndexNameObjs> getIndexNameObjs(OperationContext* opCtx,
- const NamespaceString& nss,
+ RecordId catalogId,
std::function<bool(const std::string&)> filter =
[](const std::string& indexName) { return true; });