Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

return shared_from_this from SGObject::put #5069

Closed
wants to merge 1 commit into from

Conversation

mr3543
Copy link

@mr3543 mr3543 commented Jun 17, 2020

changed put in SGObject.h to return shared_ptr<SGObject>. see issue #5407

@gf712
Copy link
Member

gf712 commented Jun 17, 2020

I think it’s safe to assume that SGObjects are always on the heap and managed by a shared_ptr. Imo those tests that are failing should reflect this. @vigsterkr ?

@vigsterkr
Copy link
Member

@gf712 mmmmmm this is a back and forth story :) for a long time that was actually the assumption...

@stale
Copy link

stale bot commented Dec 20, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Dec 20, 2020
@stale
Copy link

stale bot commented Dec 27, 2020

This issue is now being closed due to a lack of activity. Feel free to reopen it.

@stale stale bot closed this Dec 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants