Skip to content

Commit

Permalink
Fix #1977
Browse files Browse the repository at this point in the history
  • Loading branch information
yhirose committed Nov 14, 2024
1 parent 2620836 commit 7bd316f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -2259,7 +2259,7 @@ make_basic_authentication_header(const std::string &username,
namespace detail {

#if defined(_WIN32)
std::wstring u8string_to_wstring(const char *s) {
inline std::wstring u8string_to_wstring(const char *s) {
std::wstring ws;
auto len = static_cast<int>(strlen(s));
auto wlen = ::MultiByteToWideChar(CP_UTF8, 0, s, len, nullptr, 0);
Expand Down

0 comments on commit 7bd316f

Please sign in to comment.