mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-10 15:47:17 +02:00
ci: Update Clang in "tidy" job
This change updates to IWYU 0.25, which is compatible with Clang 21. Fixes new "modernize-use-default-member-init" warnings. The warning in `interpreter.cpp` is a false positive, so it has been suppressed.
This commit is contained in:
@@ -38,8 +38,8 @@ namespace {
|
||||
|
||||
struct CoinEntry {
|
||||
COutPoint* outpoint;
|
||||
uint8_t key;
|
||||
explicit CoinEntry(const COutPoint* ptr) : outpoint(const_cast<COutPoint*>(ptr)), key(DB_COIN) {}
|
||||
uint8_t key{DB_COIN};
|
||||
explicit CoinEntry(const COutPoint* ptr) : outpoint(const_cast<COutPoint*>(ptr)) {}
|
||||
|
||||
SERIALIZE_METHODS(CoinEntry, obj) { READWRITE(obj.key, obj.outpoint->hash, VARINT(obj.outpoint->n)); }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user