mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 14:49:22 +00:00
Modernize std::reverse_copy
with ranges
This commit is contained in:
parent
78440ca335
commit
bcaf665d14
1 changed files with 1 additions and 1 deletions
|
@ -621,7 +621,7 @@ void BluetoothRealDevice::SaveLinkKeys()
|
||||||
{
|
{
|
||||||
bdaddr_t address;
|
bdaddr_t address;
|
||||||
// Reverse the address so that it is stored in the correct order in the config file
|
// Reverse the address so that it is stored in the correct order in the config file
|
||||||
std::reverse_copy(entry.first.begin(), entry.first.end(), address.begin());
|
std::ranges::reverse_copy(entry.first, address.begin());
|
||||||
oss << Common::MacAddressToString(address);
|
oss << Common::MacAddressToString(address);
|
||||||
oss << '=';
|
oss << '=';
|
||||||
oss << std::hex;
|
oss << std::hex;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue