summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/biggie/biggie_kv_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/biggie/biggie_kv_engine.cpp')
-rw-r--r--src/mongo/db/storage/biggie/biggie_kv_engine.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/storage/biggie/biggie_kv_engine.cpp b/src/mongo/db/storage/biggie/biggie_kv_engine.cpp
index 3aeefdf59c2..d0c4a4b987a 100644
--- a/src/mongo/db/storage/biggie/biggie_kv_engine.cpp
+++ b/src/mongo/db/storage/biggie/biggie_kv_engine.cpp
@@ -111,10 +111,11 @@ Status KVEngine::createSortedDataInterface(OperationContext* opCtx,
return Status::OK(); // I don't think we actually need to do anything here
}
-std::unique_ptr<mongo::SortedDataInterface> KVEngine::getSortedDataInterface(
- OperationContext* opCtx, StringData ident, const IndexDescriptor* desc) {
+mongo::SortedDataInterface* KVEngine::getSortedDataInterface(OperationContext* opCtx,
+ StringData ident,
+ const IndexDescriptor* desc) {
_idents[ident.toString()] = false;
- return std::make_unique<SortedDataInterface>(opCtx, ident, desc);
+ return new SortedDataInterface(opCtx, ident, desc);
}
Status KVEngine::dropIdent(OperationContext* opCtx, StringData ident) {