Skip to content

Commit

Permalink
Use const.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Apr 23, 2024
1 parent f7a4a8d commit 89e9085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bitcoin/network/protocols/protocol.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class BCT_API protocol

// This is mostly thread safe, and used in a thread safe manner.
// pause/resume/paused/attach not invoked, setters limited to handshake.
channel::ptr channel_;
const channel::ptr channel_;

// This is thread safe.
const session::ptr session_;
Expand Down

0 comments on commit 89e9085

Please sign in to comment.