mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
shrpx_downstream_connection_pool: Adopt std::ranges
This commit is contained in:
@@ -50,7 +50,7 @@ DownstreamConnectionPool::pop_downstream_connection() {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
auto it = std::begin(pool_);
|
||||
auto it = std::ranges::begin(pool_);
|
||||
auto dconn = std::unique_ptr<DownstreamConnection>(*it);
|
||||
pool_.erase(it);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user