diff --git a/src/node_http_common-inl.h b/src/node_http_common-inl.h index 6ddc99e7d4e897..e78a6fdd2f95bd 100644 --- a/src/node_http_common-inl.h +++ b/src/node_http_common-inl.h @@ -131,7 +131,8 @@ NgHeader::NgHeader( template NgHeader::NgHeader(NgHeader&& other) noexcept - : name_(std::move(other.name_)), + : env_(other.env_), + name_(std::move(other.name_)), value_(std::move(other.value_)), token_(other.token_), flags_(other.flags_) {