Skip to content

Commit a21d816

Browse files
committed
Remove unneeded field
1 parent 07bfbe8 commit a21d816

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/resolver_impl.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ resolver_impl::resolver_impl()
4949
// generate the list of protocols to use
5050
if (cfg_->allow_ipv6()) {
5151
udp_protocols_.push_back(udp::v6());
52-
tcp_protocols_.push_back(tcp::v6());
5352
}
5453
if (cfg_->allow_ipv4()) {
5554
udp_protocols_.push_back(udp::v4());
56-
tcp_protocols_.push_back(tcp::v4());
5755
}
5856
}
5957

src/resolver_impl.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,6 @@ class resolver_impl : public cancellable_registry {
149149
const api_config *cfg_;
150150
/// UDP protocols under consideration
151151
std::vector<udp> udp_protocols_;
152-
/// TCP protocols under consideration
153-
std::vector<tcp> tcp_protocols_;
154152
/// the list of multicast endpoints under consideration
155153
std::vector<udp::endpoint> mcast_endpoints_;
156154
/// the list of per-host UDP endpoints under consideration

0 commit comments

Comments
 (0)