Small fix for GCC/Clang

This commit is contained in:
Alex Hultman 2019-01-16 21:36:35 +01:00
parent 3feee30666
commit ff37c2a272
1 changed files with 1 additions and 1 deletions

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]);