diff options
Diffstat (limited to 'src/mongo/db/storage/devnull/devnull_kv_engine.cpp')
-rw-r--r-- | src/mongo/db/storage/devnull/devnull_kv_engine.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp index 6500879bde3..b53c345ceed 100644 --- a/src/mongo/db/storage/devnull/devnull_kv_engine.cpp +++ b/src/mongo/db/storage/devnull/devnull_kv_engine.cpp @@ -256,9 +256,10 @@ std::unique_ptr<RecordStore> DevNullKVEngine::makeTemporaryRecordStore(Operation return std::make_unique<DevNullRecordStore>("", CollectionOptions()); } -std::unique_ptr<SortedDataInterface> DevNullKVEngine::getSortedDataInterface( - OperationContext* opCtx, StringData ident, const IndexDescriptor* desc) { - return std::make_unique<DevNullSortedDataInterface>(); +SortedDataInterface* DevNullKVEngine::getSortedDataInterface(OperationContext* opCtx, + StringData ident, + const IndexDescriptor* desc) { + return new DevNullSortedDataInterface(); } int64_t DevNullKVEngine::getCacheOverflowTableInsertCount(OperationContext* opCtx) const { |