mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-08 05:39:38 +02:00
refactor: Improve use of explicit keyword
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user