refactor: Enforce readability-avoid-const-params-in-decls

This commit is contained in:
MarcoFalke committed 2026-01-14 23:04:12 +01:00
1 parent faf0c2d942
commit fa64d8424b
48 files changed
+83 -82

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@
namespace wallet {
struct InitWalletDirTestingSetup: public BasicTestingSetup {
explicit InitWalletDirTestingSetup(const ChainType chain_type = ChainType::MAIN);
explicit InitWalletDirTestingSetup(ChainType chain_type = ChainType::MAIN);
~InitWalletDirTestingSetup();
void SetWalletDir(const fs::path& walletdir_path);
+1 -1
View File
@@ -117,7 +117,7 @@ public:
std::unique_ptr<WalletDatabase> CreateMockableWalletDatabase(MockableData records = {});
MockableDatabase& GetMockableDatabase(CWallet& wallet);
DescriptorScriptPubKeyMan* CreateDescriptor(CWallet& keystore, const std::string& desc_str, const bool success);
DescriptorScriptPubKeyMan* CreateDescriptor(CWallet& keystore, const std::string& desc_str, bool success);
} // namespace wallet
#endif // BITCOIN_WALLET_TEST_UTIL_H
+1 -1
View File
@@ -20,7 +20,7 @@ namespace wallet {
/** Testing setup and teardown for wallet.
*/
struct WalletTestingSetup : public TestingSetup {
explicit WalletTestingSetup(const ChainType chainType = ChainType::MAIN);
explicit WalletTestingSetup(ChainType chainType = ChainType::MAIN);
~WalletTestingSetup();
std::unique_ptr<interfaces::WalletLoader> m_wallet_loader;