HomePhabricator

Add warning about redundant moves

Description

Add warning about redundant moves

Summary: As per title. This option becomes enabled by default in GCC9, so we might as well do it all the time.

Test Plan:

make check

Verify that D4035 is the only warning of the sort.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D4036

Details

Provenance
deadalnixAuthored on Aug 30 2019, 16:43
deadalnixPushed on Sep 11 2019, 14:32
Reviewer
Restricted Project
Differential Revision
D4036: Add warning about redundant moves
Parents
rABCfb99a574e0aa: Remove redundant call to std::move
Branches
Unknown
Tags
Unknown