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 deprecation warning about using char_traits<uint8_t> #4298

Merged
merged 4 commits into from
Sep 28, 2023

Conversation

pwojcikdev
Copy link
Contributor

When building, we get a lot of warnings:

warning: 'char_traits<unsigned char>' is deprecated: char_traits<T> for T not equal to char, wchar_t, char8_t, char16_t or char32_t is non-standard and is provided for a temporary period. It will be removed in LLVM 18, so please migrate off of it. [-Wdeprecated-declarations]

The char_traits<uint8_t> type got deprecated, more info here https://reviews.llvm.org/D138307. This PR fixes the warning by reimplementing char_traits specialization.

@clemahieu clemahieu merged commit daf5b1e into nanocurrency:develop Sep 28, 2023
16 of 17 checks passed
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