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

Fix object cloning, again #997

Merged
merged 1 commit into from
Oct 8, 2021
Merged

Fix object cloning, again #997

merged 1 commit into from
Oct 8, 2021

Conversation

senderista
Copy link
Contributor

I'm sure there are still bugs, but this is hopefully less buggy...

@senderista senderista requested a review from simone-gaia October 8, 2021 02:57
Comment on lines +123 to +126
if (*this != child_ptr)
{
child_ptr.clone_no_txn();
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! didn't think of that. How did you find this problem?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My debug allocator, it turns bugs into segfaults!

Copy link
Contributor

@simone-gaia simone-gaia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@senderista senderista merged commit 8f0eb9f into master Oct 8, 2021
@senderista senderista deleted the tobin/fix_cloning_v2 branch October 8, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants