mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
clang-tidy: Fix modernize-use-default-member-init in headers
See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
This commit is contained in:
@@ -181,9 +181,9 @@ public:
|
||||
* Auxiliary requested/occurred events to wait for in `WaitMany()`.
|
||||
*/
|
||||
struct Events {
|
||||
explicit Events(Event req) : requested{req}, occurred{0} {}
|
||||
explicit Events(Event req) : requested{req} {}
|
||||
Event requested;
|
||||
Event occurred;
|
||||
Event occurred{0};
|
||||
};
|
||||
|
||||
struct HashSharedPtrSock {
|
||||
|
||||
Reference in New Issue
Block a user