mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
http: add missing initialization
Add missing initialization reported by coverity scan. Signed-off-by: Michael Dawson <mdawson@devrus.com> PR-URL: https://github.com/nodejs/node/pull/40555 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
7fba4e5819
commit
86bbb427ce
1 file changed
+2
-1
@@ -131,7 +131,8 @@ NgHeader<T>::NgHeader(
|
||||
|
||||
template <typename T>
|
||||
NgHeader<T>::NgHeader(NgHeader<T>&& 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_) {
|
||||
|
||||
Reference in new issue
Block a user