HomePhabricator

Use C++11 member initializer in CTxMemPoolEntry

Description

Use C++11 member initializer in CTxMemPoolEntry

Summary:
This removes a bunch of boilerplate, makes the code easier to read.
Also, C++11 member initialization avoids accidental uninitialized
members.

Can be reviewed with the git option "--word-diff-regex=." or with "git
difftool --tool=meld".

This is a backport of core#23054

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
PiRKAuthored on Oct 6 2022, 13:01
PiRKPushed on Oct 7 2022, 09:54
Reviewer
Restricted Project
Differential Revision
D12163: Use C++11 member initializer in CTxMemPoolEntry
Parents
rABCdc95242fb70b: [Cashtab] Fix reply button not showing
Branches
Unknown
Tags
Unknown