Update uWS, fix warnings

This commit is contained in:
Alex Hultman 2020-12-19 17:04:24 +01:00
parent 7b8534ee40
commit c750931ac7
3 changed files with 9 additions and 9 deletions

View file

@ -353,10 +353,10 @@ void uWS_App_publish(const FunctionCallbackInfo<Value> &args) {
}
/* This one modified per-thread static strings temporarily */
std::pair<struct us_socket_context_options_t, bool> readOptionsObject(const FunctionCallbackInfo<Value> &args, int index) {
std::pair<uWS::SocketContextOptions, bool> readOptionsObject(const FunctionCallbackInfo<Value> &args, int index) {
Isolate *isolate = args.GetIsolate();
/* Read the options object if any */
us_socket_context_options_t options = {};
uWS::SocketContextOptions options = {};
thread_local std::string keyFileName, certFileName, passphrase, dhParamsFileName, caFileName;
if (args.Length() > index) {