Make objects in range declarations immutable by default.
Backport of Bitcoin Core PR13249
https://github.com/bitcoin/bitcoin/pull/13249
Differential D4191
Make objects in range declarations immutable by default. Avoid unnecessary copying of objects in range declarations. fpelliccioni on Oct 1 2019, 16:32. Authored by Tags None Subscribers None
Details Make objects in range declarations immutable by default. Backport of Bitcoin Core PR13249 make check-all
Diff Detail
Event TimelineComment Actions It is a partial application of the PR, I forgot to clarify it, sorry. (summary edited). Comment Actions for (const int x : seq) is even better. There are still some missing, for instance in qt/bitcoingui.cpp . Comment Actions Was superseded by D4221. An error occurred using arc and` git` that I could not solve. |