Skip to content

Commit ad9150b

Browse files
committed
Fix bingrequest build break on osx and linux
1 parent 0bed9f9 commit ad9150b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Release/samples/BingRequest/bingrequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ web::http::client::http_client_config client_config_for_proxy()
3939
web::http::client::http_client_config client_config;
4040

4141
if(const char* env_http_proxy = std::getenv("http_proxy")) {
42-
uri proxy_uri(utility::conversions::utf8_to_utf16(env_http_proxy));
42+
uri proxy_uri(utility::conversions::to_string_t(env_http_proxy));
4343
web::web_proxy proxy(proxy_uri);
4444
client_config.set_proxy(proxy);
4545
}

0 commit comments

Comments
 (0)