diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2020-11-29 19:33:22 +0100 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2020-12-01 18:36:39 +0100 |
commit | 1e62350ca20898189904a88dfef9ea11ddcd8626 (patch) | |
tree | 4c59267f85c5691faa84656cb0cecb0d386a247e /src/script/descriptor.cpp | |
parent | c502a6dbfb854ca827a5a3925394f9e09d29b898 (diff) |
refactor: Improve use of explicit keyword
Diffstat (limited to 'src/script/descriptor.cpp')
-rw-r--r-- | src/script/descriptor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/descriptor.cpp b/src/script/descriptor.cpp index 8d8fa185ba..e5ba9ba6d2 100644 --- a/src/script/descriptor.cpp +++ b/src/script/descriptor.cpp @@ -156,7 +156,7 @@ protected: uint32_t m_expr_index; public: - PubkeyProvider(uint32_t exp_index) : m_expr_index(exp_index) {} + explicit PubkeyProvider(uint32_t exp_index) : m_expr_index(exp_index) {} virtual ~PubkeyProvider() = default; |