Skip to content

Commit

Permalink
using shared
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonYao287 committed Jan 31, 2024
1 parent 2bc3301 commit a1a605a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/replication/service/raft_repl_service.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ void RaftReplService::raft_group_config_found(sisl::byte_view const& buf, void*

auto rdev = std::dynamic_pointer_cast< RaftReplDev >(*v);
auto listener = m_repl_app->create_repl_dev_listener(group_id);
listener->set_repl_dev(rdev.get());
listener->set_repl_dev(rdev);
rdev->attach_listener(std::move(listener));
rdev->use_config(std::move(group_config));
}
Expand Down

0 comments on commit a1a605a

Please sign in to comment.