aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2020-11-29 19:33:22 +0100
committerFabian Jahr <fjahr@protonmail.com>2020-12-01 18:36:39 +0100
commit1e62350ca20898189904a88dfef9ea11ddcd8626 (patch)
tree4c59267f85c5691faa84656cb0cecb0d386a247e /src/txmempool.h
parentc502a6dbfb854ca827a5a3925394f9e09d29b898 (diff)
refactor: Improve use of explicit keyword
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 78ad62aae6..15797cbc00 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -855,7 +855,7 @@ public:
class EpochGuard {
const CTxMemPool& pool;
public:
- EpochGuard(const CTxMemPool& in);
+ explicit EpochGuard(const CTxMemPool& in);
~EpochGuard();
};
// N.B. GetFreshEpoch modifies mutable state via the EpochGuard construction