Small fix for GCC/Clang

This commit is contained in:
Alex Hultman 2019-01-16 21:36:35 +01:00
parent 3feee30666
commit ff37c2a272

View File

@ -10,7 +10,7 @@ using namespace v8;
template <typename APP>
void uWS_App_ws(const FunctionCallbackInfo<Value> &args) {
APP *app = (APP *) args.Holder()->GetAlignedPointerFromInternalField(0);
APP::WebSocketBehavior behavior = {};
typename APP::WebSocketBehavior behavior = {};
// pattern
NativeString nativeString(args.GetIsolate(), args[0]);