HomePhabricator

Make objects in range declarations immutable by default. Avoid unnecessary…

Description

Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations.

Summary:
Make objects in range declarations immutable by default.

Backport of Bitcoin Core PR13249
https://github.com/bitcoin/bitcoin/pull/13249

(D4191 done again)

Test Plan:

make check-all

Reviewers: Fabien, #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Jun 18 2018, 05:58
fpelliccioniCommitted on Oct 8 2019, 16:08
fpelliccioniPushed on Oct 8 2019, 16:08
Reviewer
Restricted Project
Differential Revision
D4221: Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations.
Parents
rABC50ae4433e7af: cli: Ignore libevent warnings
Branches
Unknown
Tags
Unknown