diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2017-07-06 13:53:52 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2017-09-06 19:03:39 -0400 |
commit | 28f11e9406b185dc87144f1f29af0d93eb115b4e (patch) | |
tree | 27f8a55fc1e1ee47a682f6944b69190824c6dbcc /src/net.h | |
parent | bcc8a620eae9cd8fe95f0a02f17183c4a132e5a2 (diff) |
net: pass CConnman via pointer rather than reference
There are a few too many edge-cases here to make this a scripted diff.
The following commits will move a few functions into PeerLogicValidation, where
the local connman instance can be used. This change prepares for that usage.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -441,9 +441,9 @@ struct CombinerAll // Signals for message handling struct CNodeSignals { - boost::signals2::signal<bool (CNode*, CConnman&, std::atomic<bool>&), CombinerAll> ProcessMessages; - boost::signals2::signal<bool (CNode*, CConnman&, std::atomic<bool>&), CombinerAll> SendMessages; - boost::signals2::signal<void (CNode*, CConnman&)> InitializeNode; + boost::signals2::signal<bool (CNode*, CConnman*, std::atomic<bool>&), CombinerAll> ProcessMessages; + boost::signals2::signal<bool (CNode*, CConnman*, std::atomic<bool>&), CombinerAll> SendMessages; + boost::signals2::signal<void (CNode*, CConnman*)> InitializeNode; boost::signals2::signal<void (NodeId, bool&)> FinalizeNode; }; |