diff options
author | Scott Hernandez <scotthernandez@tart.local> | 2016-06-10 16:12:01 -0400 |
---|---|---|
committer | Scott Hernandez <scotthernandez@tart.local> | 2016-06-17 11:53:01 -0400 |
commit | 42eb9464500381ef8034070472badded4b427cf5 (patch) | |
tree | 9f7aaf66732d0352f37ced532f6c0fc99cd5793d /src/mongo/db/repl/storage_interface.cpp | |
parent | c59f5ade57e41b6a50f40999ea14883da691e951 (diff) | |
download | mongo-42eb9464500381ef8034070472badded4b427cf5.tar.gz |
SERVER-23059: storage interface improvements
Diffstat (limited to 'src/mongo/db/repl/storage_interface.cpp')
-rw-r--r-- | src/mongo/db/repl/storage_interface.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/repl/storage_interface.cpp b/src/mongo/db/repl/storage_interface.cpp index ba885bda35c..557b44d079a 100644 --- a/src/mongo/db/repl/storage_interface.cpp +++ b/src/mongo/db/repl/storage_interface.cpp @@ -71,9 +71,9 @@ StorageInterface* StorageInterface::get(OperationContext* txn) { } -void StorageInterface::set(ServiceContext* service, std::unique_ptr<StorageInterface> replCoord) { - auto& coordinator = getStorageInterface(service); - coordinator = std::move(replCoord); +void StorageInterface::set(ServiceContext* service, std::unique_ptr<StorageInterface> storage) { + auto& storageInterface = getStorageInterface(service); + storageInterface = std::move(storage); } } // namespace repl |