mirror of
https://github.com/transmission/transmission
synced 2025-03-04 02:28:03 +00:00
parent
946cf04833
commit
98e8d5a3da
1 changed files with 1 additions and 1 deletions
|
@ -2289,7 +2289,7 @@ Bandwidth& tr_session::getBandwidthGroup(std::string_view name)
|
|||
|
||||
if (it == std::end(groups))
|
||||
{
|
||||
it = groups.try_emplace(key, std::make_unique<Bandwidth>(&top_bandwidth_)).first;
|
||||
it = groups.try_emplace(key, std::make_unique<Bandwidth>(new Bandwidth(&top_bandwidth_))).first;
|
||||
}
|
||||
|
||||
return *it->second;
|
||||
|
|
Loading…
Add table
Reference in a new issue