0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/tools
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
..
bootstrap tools: update Boxstarter script and document 2020-04-05 20:43:20 +02:00
clang-format
code_cache tools: fix mkcodecache when run with ASAN 2020-04-22 00:40:40 +00:00
configure.d deps: minor ICU fixes: maint docs/tool, downloader 2020-03-20 17:21:50 -07:00
doc doc: don't check links in tmp dirs 2020-04-29 03:54:34 +02:00
eslint-rules tools: update ESLint to 7.0.0-alpha.3 2020-04-02 18:29:48 +02:00
gyp build: support android build on ndk version equal or above 23 2020-03-11 16:50:52 +01:00
icu doc: add angle brackets around implicit links 2020-04-23 21:48:17 -07:00
inspector_protocol tools: fix redundant-move warning in inspector 2020-04-30 06:17:32 +02:00
macos-installer
msvs win: block running on EOL Windows versions 2020-03-05 03:06:17 +00:00
node_modules tools: update ESLint to 7.0.0-rc.0 2020-04-28 18:05:55 +08:00
node-lint-md-cli-rollup tools: update remark-preset-lint-node@1.14.0 2020-04-29 03:53:00 +02:00
pip
rpm
snapshot doc: add documentation about node_mksnapshot and mkcodecache 2019-12-05 18:57:33 +08:00
v8_gypfiles tools: update V8 gypfiles for 8.1 2020-03-18 16:23:30 -07:00
.eslintrc.yaml
build-addons.js
certdata.txt
check-imports.py
compress_json.py
cpplint.py tools,src: forbid usage of v8::Persistent 2019-12-24 14:35:22 +01:00
create_android_makefiles
create_expfile.sh
genv8constants.py
getarch.py
getendian.py
getmachine.py
getmoduleversion.py
getnapibuildversion.py
getnodeversion.py
gyp_node.py
install.py
js2c.py build: remove (almost) unused macros/constants 2019-12-05 15:46:55 -08:00
license2rtf.js
license-builder.sh
lint-js.js build: add mjs extension to lint-js 2020-03-11 17:38:43 +01:00
lint-md.js tools: update remark-preset-lint-node@1.14.0 2020-04-29 03:53:00 +02:00
lint-pr-commit-message.sh
lsan_suppressions.txt
macos-firewall.sh
make-v8.sh build: remove .git folders when testing V8 2020-04-16 14:06:04 -07:00
mk-ca-bundle.pl
mkssldef.py
osx-codesign.sh build: macOS package notarization 2020-03-10 20:14:52 +11:00
osx-entitlements.plist build: macOS package notarization 2020-03-10 20:14:52 +11:00
osx-gon-config.json.tmpl build: macOS package notarization 2020-03-10 20:14:52 +11:00
osx-notarize.sh build: macOS package notarization 2020-03-10 20:14:52 +11:00
osx-pkg-postinstall.sh
osx-productsign.sh
release.sh tools: ensure consistent perms of signed release files 2020-01-11 18:53:43 -08:00
run-valgrind.py
run-worker.js
sign.bat
specialize_node_d.py
test-npm-package.js
test-v8.bat
test.py tools: decrease timeout in test.py 2020-04-18 07:59:45 +05:30
update-authors.js
update-babel-eslint.sh
update-eslint.sh
utils.py test: skip the unsupported test cases for IBM i 2019-12-25 23:11:02 +01:00
valgrind.supp