diff options
author | Zach Yam <zach.yam@mongodb.com> | 2019-06-07 16:04:08 -0400 |
---|---|---|
committer | Zach Yam <zach.yam@mongodb.com> | 2019-06-12 10:44:04 -0400 |
commit | 90a74a50044d4daff7fa66e050bd76e70a0c7e56 (patch) | |
tree | 217077f05cfebe7aa8a37a6ab60440ce111aaf88 /src/mongo/db/storage/devnull/devnull_kv_engine.h | |
parent | 2cd33c3953e54018d8ed687f6c03c7575fe518eb (diff) | |
download | mongo-90a74a50044d4daff7fa66e050bd76e70a0c7e56.tar.gz |
Make get(Grouped)SortedDataInterface return a unique pointer
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, 2 insertions, 3 deletions
diff --git a/src/mongo/db/storage/devnull/devnull_kv_engine.h b/src/mongo/db/storage/devnull/devnull_kv_engine.h index d73f5a97768..33fe29d38f4 100644 --- a/src/mongo/db/storage/devnull/devnull_kv_engine.h +++ b/src/mongo/db/storage/devnull/devnull_kv_engine.h @@ -70,9 +70,8 @@ public: return Status::OK(); } - virtual SortedDataInterface* getSortedDataInterface(OperationContext* opCtx, - StringData ident, - const IndexDescriptor* desc); + virtual std::unique_ptr<SortedDataInterface> getSortedDataInterface( + OperationContext* opCtx, StringData ident, const IndexDescriptor* desc); virtual Status dropIdent(OperationContext* opCtx, StringData ident) { return Status::OK(); |