forked from scylladb/scylladb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gossip: store regular pointer to subscribers instead of shared one
Some subscribers are allocated statically, so it is a churn to make shared pointers from them. And since registered subscribers have to be unregister before been destroyed anyway there is no lifetime issue here that require use of a smart pointer.
- Loading branch information
1 parent
02fb270
commit c39af6d
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters