HomePhabricator

Add warning about redundant moves

Authored by deadalnix on Fri, Aug 30, 16:43.

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

Committed
deadalnixWed, Sep 11, 14:32
Pushed
deadalnixWed, Sep 11, 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