Skip to content

refactor: replacing deprecated std::wstring_convert#116

Open
delperugia wants to merge 1 commit into
eddic:masterfrom
delperugia:master
Open

refactor: replacing deprecated std::wstring_convert#116
delperugia wants to merge 1 commit into
eddic:masterfrom
delperugia:master

Conversation

@delperugia

Copy link
Copy Markdown
Contributor

What?

A replacement class for std::wstring_convert.

Why?

Recent compilers (clang version 21.1.8 in my case) are starting to reject the deprecated class std::wstring_convert.

How?

I made a proxy (named WstringConvert) that mimics it (only the functions used by fastcgi++), limiting the modifications in the sources. This class is located in wstringconvert.hpp and wstringconvert.cpp.

Testing?

Extra tests are added in http.cpp.

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.

1 participant