diff options
author | Zach Yam <zach.yam@mongodb.com> | 2019-06-13 13:06:39 -0400 |
---|---|---|
committer | Zach Yam <zach.yam@mongodb.com> | 2019-06-13 13:06:39 -0400 |
commit | 0eb5d53338bfcff847ce1b9e34b7344dcaf9ed84 (patch) | |
tree | c067050a455532031d78652b85c59d59e12cff95 /src/mongo/db/storage/devnull/devnull_kv_engine.h | |
parent | bde7615a648ad9bacef680bc5144dcc8c308f6f4 (diff) | |
download | mongo-0eb5d53338bfcff847ce1b9e34b7344dcaf9ed84.tar.gz |
Revert "Make get(Grouped)SortedDataInterface return a unique pointer"
This reverts commit 90a74a50044d4daff7fa66e050bd76e70a0c7e56.
Diffstat (limited to 'src/mongo/db/storage/devnull/devnull_kv_engine.h')
-rw-r--r-- | src/mongo/db/storage/devnull/devnull_kv_engine.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.h b/src/mongo/db/storage/devnull/devnull_kv_engine.h index 33fe29d38f4..d73f5a97768 100644 --- a/src/mongo/db/storage/devnull/devnull_kv_engine.h +++ b/src/mongo/db/storage/devnull/devnull_kv_engine.h @@ -70,8 +70,9 @@ public: return Status::OK(); } - virtual std::unique_ptr<SortedDataInterface> getSortedDataInterface( - OperationContext* opCtx, StringData ident, const IndexDescriptor* desc); + virtual SortedDataInterface* getSortedDataInterface(OperationContext* opCtx, + StringData ident, + const IndexDescriptor* desc); virtual Status dropIdent(OperationContext* opCtx, StringData ident) { return Status::OK(); |