summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-09-28 20:22:58 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-10-10 00:53:48 -0700
commitbcaf665d14c5e20ecc88a8978df19ca73e0e29fc (patch)
treedf775269742c9ebb6fd311c9ec27281e4ecb6e58 /Source
parent78440ca335d4f988092bf524f42fde66a4790abd (diff)
Modernize `std::reverse_copy` with ranges
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp b/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp
index b8547c9de9..e3a6a660ed 100644
--- a/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp
+++ b/Source/Core/Core/IOS/USB/Bluetooth/BTReal.cpp
@@ -621,7 +621,7 @@ void BluetoothRealDevice::SaveLinkKeys()
{
bdaddr_t address;
// 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 << '=';
oss << std::hex;