Merge #15144: [refactor] CNode: Use C++11 default member initializers

Merge #15144: [refactor] CNode: Use C++11 default member initializers

fac2f5ecae96dd11057977ce988501e18bb162c6 Use C++11 default member initializers (MarcoFalke)

Pull request description:

  The second and last change on this topic (c.f. #15109). Split up because the diff would otherwise interleave, making review harder than necessary.

  This is not a stylistic change, but a change that avoids bugs such as:

  *  fix uninitialized read when stringifying an addrLocal #14728
  *  qt: Initialize members in WalletModel #12426
  *  net: correctly initialize nMinPingUsecTime #6636
  * ...

Tree-SHA512: 547ae72b87aeaed5890eb5fdcff612bfc93354632b238d89e1e1c0487187f39609bcdc537ef21345e0aea8cfcf1ea48da432d672c5386dd87cf58742446a86b1

情報元 - Merge #15144: [refactor] CNode: Use C++11 default member initializers · bitcoin/[email protected] · GitHub

Merge #15144: [refactor] CNode: Use C++11 default member initializers · bitcoin/bitcoin@070eaf7 · GitHub
スポンサーリンク

シェアする

フォローする

スポンサーリンク

トップへ戻る