mirror of https://github.com/nodejs/node.git
2e441e152f
Currently, the following warning is generated from the inspector protocol: /out/Release/obj/gen/src/node/inspector/protocol/Protocol.cpp: In member function ‘virtual std::unique_ptr<node::inspector::protocol::Value> node::inspector::protocol::ListValue::clone() const’: /out/Release/obj/gen/src/node/inspector/protocol/Protocol.cpp:739:21: error: redundant move in return statement [-Werror=redundant-move] 739 | return std::move(result); | ~~~~~~~~~^~~~~~~~ This commit removes the move for DictionaryValue and ListValue. PR-URL: https://github.com/nodejs/node/pull/32685 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matheus Marchini <mat@mmarchini.me> |
||
---|---|---|
.. | ||
Allocator_h.template | ||
Array_h.template | ||
DispatcherBase_cpp.template | ||
DispatcherBase_h.template | ||
ErrorSupport_cpp.template | ||
ErrorSupport_h.template | ||
Forward_h.template | ||
FrontendChannel_h.template | ||
Maybe_h.template | ||
Object_cpp.template | ||
Object_h.template | ||
Parser_cpp.template | ||
Parser_h.template | ||
Protocol_cpp.template | ||
ValueConversions_h.template | ||
Values_cpp.template | ||
Values_h.template | ||
base_string_adapter_cc.template | ||
base_string_adapter_h.template | ||
encoding_cpp.template | ||
encoding_h.template |