node/tools/inspector_protocol/lib
Daniel Bevenius 2e441e152f tools: fix redundant-move warning in inspector
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>
2020-04-30 06:17:32 +02:00
..
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 tools: fix redundant-move warning in inspector 2020-04-30 06:17:32 +02:00
Values_h.template
base_string_adapter_cc.template tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
base_string_adapter_h.template tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
encoding_cpp.template tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00
encoding_h.template tools: update inspector_protocol to 0aafd2 2019-06-01 09:28:34 +02:00