Merge #10888: range-based loops and const qualifications in net.cpp
commit98212745c8acb5cc4e688bbb3979bfd46b25f98a
authorPieter Wuille <pieter.wuille@gmail.com>
Wed, 20 Sep 2017 23:32:56 +0000 (20 16:32 -0700)
committerPieter Wuille <pieter.wuille@gmail.com>
Wed, 20 Sep 2017 23:46:59 +0000 (20 16:46 -0700)
tree0402f5d4dd9a77a5e8867815dafbe9b6f48a4904
parent551d7bf604fb4615d64b8b644aefa160dadc34c4
parent05cae8aefd160ed83206a6d0f15cc29fd8653755
Merge #10888: range-based loops and const qualifications in net.cpp

05cae8aef range-based loops and const qualifications in net.cpp (Marko Bencun)

Pull request description:

  Plus a use of std::copy() instead of manual copying.

  (The loop on line 117 is already done in #10493).

Tree-SHA512: d9839e330c71bb9781a4efa81ee353c9e3fd8a93c2120a309f7a0e516b119dd7abe0f0988546797801258b867a29581978515c05dda9e5b23097e15f705139b4