Index: device/gamepad/xbox_data_fetcher_mac.mm |
diff --git a/device/gamepad/xbox_data_fetcher_mac.mm b/device/gamepad/xbox_data_fetcher_mac.mm |
index 0615de5686ee603f472416d3fd52807ddca47262..a6980740d3c28a2b94cab65d18fe45dcb69b86d7 100644 |
--- a/device/gamepad/xbox_data_fetcher_mac.mm |
+++ b/device/gamepad/xbox_data_fetcher_mac.mm |
@@ -624,7 +624,7 @@ GamepadSource XboxDataFetcher::source() { |
void XboxDataFetcher::GetGamepadData(bool devices_changed_hint) { |
// This just loops through all the connected pads and "pings" them to indicate |
// that they're still active. |
- for (const auto& controller : controllers_) { |
+ for (auto* controller : controllers_) { |
GetPadState(controller->location_id()); |
} |
} |