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

properly initilize enable_shared_from_this if the type is const #155

Merged

Conversation

apolukhin
Copy link
Member

@apolukhin apolukhin commented Sep 24, 2021

Without const the new test fails with the following error:

terminate called after throwing an instance of 'boost::interprocess::bad_weak_ptr'
  what():  boost::interprocess::bad_weak_ptr
Aborted (core dumped)

igaztanaga added a commit that referenced this pull request Sep 24, 2021
@igaztanaga igaztanaga merged commit 116e651 into boostorg:develop Sep 24, 2021
@igaztanaga
Copy link
Member

Many thanks for the patch!

@apolukhin apolukhin deleted the antoshkka/enable-shared-from-const branch September 24, 2021 16:39
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.

None yet

2 participants