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 build in C++20 mode #400

Closed
wants to merge 2 commits into from

Conversation

villevoutilainen
Copy link

std::allocator::destroy has been deprecated, and removed in C++20. Use std::allocator_traits<std::allocator>::destroy instead.

std::allocator<Foo>::destroy has been deprecated, and removed in C++20.
Use std::allocator_traits<std::allocator<Foo>>::destroy instead.
@villevoutilainen
Copy link
Author

So this fixes #385

common/sys/vector.h Outdated Show resolved Hide resolved
common/sys/vector.h Outdated Show resolved Hide resolved
common/sys/vector.h Outdated Show resolved Hide resolved
common/sys/vector.h Outdated Show resolved Hide resolved
@svenwoop
Copy link
Contributor

There will come a release soon which fixes this already.

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

3 participants