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 library deprecation warning #1031

Merged
merged 1 commit into from
Feb 7, 2019

Conversation

DanielaE
Copy link
Contributor

@DanielaE DanielaE commented Feb 6, 2019

Since C++17, using template specialization std::allocator<void> in any shape or form (even just mentioning it) is deprecated! A simple workaround is replacing void by another (preferably empty) type, e.g. fmt::monostate.

Found by Clang 9 in Visual Studio.

Since C++17, using template specialization 'std::allocator<void>' in any shape or form (even just mentioning it) is deprecated! A simple workaround is replacing 'void' by another (preferably empty) type, e.g. 'fmt::monostate'.

Found by Clang 9 in Visual Studio.
@vitaut vitaut merged commit 01f34d0 into fmtlib:master Feb 7, 2019
@vitaut
Copy link
Contributor

vitaut commented Feb 7, 2019

Merged, thanks!

@DanielaE DanielaE deleted the fix/deprecated-allocator‹void› branch February 8, 2019 06:06
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