util: fix -Wpessimizing-move warning #148
pull ryanofsky wants to merge 1 commits into bitcoin-core:master from ryanofsky:pr/pess changing 1 files +1 −1-
ryanofsky commented at 2:53 am on February 4, 2025: collaborator/ci_container_base/src/ipc/libmultiprocess/src/mp/util.cpp:74:12: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 74 | return std::move(buffer.str()); | ^ /ci_container_base/src/ipc/libmultiprocess/src/mp/util.cpp:74:12: note: remove std::move call here 74 | return std::move(buffer.str()); | ^~~~~~~~~~ ~
-
3bce9d03d1
util: fix -Wpessimizing-move warning
/ci_container_base/src/ipc/libmultiprocess/src/mp/util.cpp:74:12: error: moving a temporary object prevents copy elision [-Werror,-Wpessimizing-move] 74 | return std::move(buffer.str()); | ^ /ci_container_base/src/ipc/libmultiprocess/src/mp/util.cpp:74:12: note: remove std::move call here 74 | return std::move(buffer.str()); | ^~~~~~~~~~ ~ -
ryanofsky merged this on Feb 4, 2025
-
ryanofsky closed this on Feb 4, 2025
-
ryanofsky referenced this in commit 37fb62c3a5 on Feb 4, 2025
-
ryanofsky referenced this in commit 1d75538a32 on Feb 5, 2025
-
ryanofsky referenced this in commit 9437e6846f on Feb 7, 2025
-
ryanofsky referenced this in commit a4a8f7a7ba on Feb 7, 2025
-
ryanofsky referenced this in commit 3a95817ece on Feb 10, 2025
-
Sjors referenced this in commit 6aabfcb615 on Feb 10, 2025
-
Sjors referenced this in commit 1746618e08 on Feb 13, 2025
-
ryanofsky referenced this in commit 83e40d3b52 on Feb 24, 2025
-
ryanofsky referenced this in commit 8619f03ec2 on Feb 24, 2025
-
ryanofsky referenced this in commit cbb7b41c20 on Feb 24, 2025
-
fanquake referenced this in commit 01f7715766 on Feb 25, 2025
-
fanquake referenced this in commit ba0a4391ff on Feb 25, 2025
-
janus referenced this in commit 86cb86b050 on Sep 1, 2025
github-metadata-mirror
This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-12-04 19:30 UTC
This is a metadata mirror of the GitHub repository bitcoin-core/libmultiprocess. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2025-12-04 19:30 UTC
This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me
More mirrored repositories can be found on mirror.b10c.me