diff --git a/src/env.cc b/src/env.cc index 9bed08cdb09175..6abb224293c26f 100644 --- a/src/env.cc +++ b/src/env.cc @@ -263,7 +263,7 @@ void CollectExceptionInfo(Environment* env, if (syscall != nullptr) { obj->Set(env->context(), env->syscall_string(), - OneByteString(env->isolate(), syscall)); + OneByteString(env->isolate(), syscall)).FromJust(); } } diff --git a/src/node_http2.h b/src/node_http2.h index 9454301ec4665e..1fee25a8d054b0 100644 --- a/src/node_http2.h +++ b/src/node_http2.h @@ -431,7 +431,7 @@ class Http2Session : public AsyncWrap, const SubmitTrailers& submit_trailers) override; void Send(WriteWrap* req, char* buf, size_t length) override; - WriteWrap* AllocateSend(); + WriteWrap* AllocateSend() override; int DoWrite(WriteWrap* w, uv_buf_t* bufs, size_t count, uv_stream_t* send_handle) override;