summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/storage_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/repl/storage_interface.h')
-rw-r--r--src/mongo/db/repl/storage_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/repl/storage_interface.h b/src/mongo/db/repl/storage_interface.h
index a4e5442c0b2..027b14af6df 100644
--- a/src/mongo/db/repl/storage_interface.h
+++ b/src/mongo/db/repl/storage_interface.h
@@ -117,7 +117,7 @@ public:
virtual StatusWith<std::unique_ptr<CollectionBulkLoader>> createCollectionForBulkLoading(
const NamespaceString& nss,
const CollectionOptions& options,
- const BSONObj idIndexSpec,
+ BSONObj idIndexSpec,
const std::vector<BSONObj>& secondaryIndexSpecs) = 0;
/**
@@ -170,7 +170,7 @@ public:
virtual Status createCollection(OperationContext* opCtx,
const NamespaceString& nss,
const CollectionOptions& options,
- const bool createIdIndex = true,
+ bool createIdIndex = true,
const BSONObj& idIndexSpec = BSONObj()) = 0;
/**