mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
refactor: Improve use of explicit keyword
This commit is contained in:
parent
c502a6dbfb
commit
1e62350ca2
19 changed files with 31 additions and 22 deletions
|
|
@ -451,7 +451,7 @@ struct Peer {
|
|||
/** Work queue of items requested by this peer **/
|
||||
std::deque<CInv> m_getdata_requests GUARDED_BY(m_getdata_requests_mutex);
|
||||
|
||||
Peer(NodeId id) : m_id(id) {}
|
||||
explicit Peer(NodeId id) : m_id(id) {}
|
||||
};
|
||||
|
||||
using PeerRef = std::shared_ptr<Peer>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue