diff --git a/conanfile.py b/conanfile.py index 2f6819da2..1e7364867 100644 --- a/conanfile.py +++ b/conanfile.py @@ -5,7 +5,7 @@ class HomestoreConan(ConanFile): name = "homestore" - version = "4.5.4" + version = "4.5.5" homepage = "https://github.com/eBay/Homestore" description = "HomeStore Storage Engine" diff --git a/src/lib/replication/service/repl_service_impl.cpp b/src/lib/replication/service/repl_service_impl.cpp index c4316ee58..cc7c0e4a4 100644 --- a/src/lib/replication/service/repl_service_impl.cpp +++ b/src/lib/replication/service/repl_service_impl.cpp @@ -74,7 +74,7 @@ ReplicationServiceImpl::open_repl_dev(uuid_t group_id, std::unique_ptr< ReplDevL auto it = m_rd_map.find(group_id); if (it != m_rd_map.end()) { // We already loaded the ReplDev, just call the group_id and attach the listener - auto& repl_dev = it->second; + auto repl_dev = it->second; listener->set_repl_dev(repl_dev.get()); repl_dev->attach_listener(std::move(listener)); return make_async_success< shared< ReplDev > >(std::move(repl_dev));