diff options
Diffstat (limited to 'bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp')
-rw-r--r-- | bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp index 307403b451..f14bff5fb3 100644 --- a/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp +++ b/bluetooth/audio/aidl/vts/VtsHalBluetoothAudioTargetTest.cpp @@ -417,7 +417,7 @@ class BluetoothAudioProviderA2dpHardwareAidl void GetA2dpOffloadCapabilityHelper(const CodecType& codec_type) { temp_codec_capabilities_ = nullptr; - for (auto codec_capability : temp_provider_capabilities_) { + for (auto& codec_capability : temp_provider_capabilities_) { auto& a2dp_capabilities = codec_capability.get<AudioCapabilities::a2dpCapabilities>(); if (a2dp_capabilities.codecType != codec_type) { |