-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
service: fixup shared_from_this saga for setOwner/setParent.
We now catch the bad weak ptr and create the shared_ptr ourselves. This is allowed since we know that it is stored in the other Service and not destructed at the end of the function. Signed-off-by: Ruben Smits <ruben.smits@intermodalics.eu>
- Loading branch information
Ruben Smits
committed
Mar 7, 2014
1 parent
df8b7a9
commit d46e4be
Showing
3 changed files
with
23 additions
and
11 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