Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph_context: remove unsafe cast for singletons
It was previously assumed that a CephContext singleton would inherit from CephContext::AssociatedSingletonObject, but it was not enforced. This could result in unknown behavior when the singleton is destroyed due to the implied virtual destructor. Signed-off-by: Jason Dillaman <dillaman@redhat.com> (cherry picked from commit fb62c78)
- Loading branch information
Jason Dillaman
committed
Nov 4, 2015
1 parent
5c34819
commit da0416a
Showing
3 changed files
with
25 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
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