Skip to content

Commit 8460ab3

Browse files
committed
Remove no-op casts.
1 parent b948f8e commit 8460ab3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/bitcoin/node/channels/channel_http.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class BCN_API channel_http
3939
channel_http(const network::logger& log, const network::socket::ptr& socket,
4040
const node::configuration& config, uint64_t identifier=zero,
4141
const options_t& options={}) NOEXCEPT
42-
: network::channel_http(log, socket, (const network::settings&)config.network, identifier, options),
42+
: network::channel_http(log, socket, config.network, identifier, options),
4343
node::channel(log, socket, config, identifier)
4444
{
4545
}

include/bitcoin/node/channels/channel_tcp.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class BCN_API channel_tcp
3939
channel_tcp(const network::logger& log, const network::socket::ptr& socket,
4040
const node::configuration& config, uint64_t identifier=zero,
4141
const options_t& options={}) NOEXCEPT
42-
: network::channel_tcp(log, socket, (const network::settings&)config.network, identifier, options),
42+
: network::channel_tcp(log, socket, config.network, identifier, options),
4343
node::channel(log, socket, config, identifier)
4444
{
4545
}

0 commit comments

Comments
 (0)