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

Committed
fpelliccioniOct 8 2019, 16:08
Pushed
fpelliccioniOct 8 2019, 19:09
Reviewer
Restricted Project
Differential Revision
D4221: Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations.
Parents
rSTAGING50ae4433e7af: cli: Ignore libevent warnings
Branches
Unknown
Tags
Unknown