0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-13 11:25:02 -05:00
bitcoin-bitcoin-core/src/util
merge-script 01dc38bd01
Merge bitcoin/bitcoin#30406: refactor: modernize-use-equals-default
3333bae9b2 tidy: modernize-use-equals-default (MarcoFalke)

Pull request description:

  Prior to C++20, `modernize-use-equals-default` could have been problematic because it could turn a non-aggregate into an aggregate. The risk would be that aggregate initialization would be enabled where the author did not intend to enable it.

  With C++20, aggregate for those is forbidden either way. (https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1008r1.pdf)

  So enabled it for code clarity, consistency, and possibly unlocking compiler optimizations. See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-equals-default.html

ACKs for top commit:
  stickies-v:
    ACK 3333bae9b2

Tree-SHA512: ab42ff01be7ca7e7d8b4c6a485e68426f59627d83dd827cf292304829562348dc17a52ee009f5f6f3c1c2081d7166ffac4baef23197ebeba8de7767c6ddfe255
2024-07-11 19:08:46 +01:00
..
any.h
asmap.cpp
asmap.h
batchpriority.cpp
batchpriority.h
bip32.cpp
bip32.h
bitdeque.h
bitset.h
bytevectorhash.cpp
bytevectorhash.h
chaintype.cpp
chaintype.h
check.cpp
check.h
epochguard.h
exception.cpp
exception.h
fastrange.h
feefrac.cpp
feefrac.h
fs.cpp
fs.h
fs_helpers.cpp
fs_helpers.h
golombrice.h
hash_type.h
hasher.cpp
hasher.h
insert.h
macros.h
moneystr.cpp
moneystr.h
overflow.h
overloaded.h
rbf.cpp
rbf.h
readwritefile.cpp
readwritefile.h
result.h
serfloat.cpp
serfloat.h
signalinterrupt.cpp
signalinterrupt.h
sock.cpp
sock.h
strencodings.cpp
strencodings.h
string.cpp
string.h
subprocess.h
syserror.cpp
syserror.h
task_runner.h
thread.cpp
thread.h
threadinterrupt.cpp
threadinterrupt.h
threadnames.cpp
threadnames.h
time.cpp
time.h
tokenpipe.cpp
tokenpipe.h
trace.h
transaction_identifier.h
translation.h
types.h
ui_change_type.h
vecdeque.h
vector.h