From 472fba64aec0292af6941d52643cae3c997a508a Mon Sep 17 00:00:00 2001 From: Janusz Sobczak Date: Thu, 8 Jun 2023 14:29:00 -0700 Subject: [PATCH] Add const in ReadCharacteristic prototype PiperOrigin-RevId: 538891905 --- internal/platform/ble_v2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/platform/ble_v2.h b/internal/platform/ble_v2.h index 41099ace..e3d8fe7c 100644 --- a/internal/platform/ble_v2.h +++ b/internal/platform/ble_v2.h @@ -280,7 +280,7 @@ class GattClient final { // NOLINTNEXTLINE(google3-legacy-absl-backports) absl::optional ReadCharacteristic( - api::ble_v2::GattCharacteristic& characteristic) { + const api::ble_v2::GattCharacteristic& characteristic) { return impl_->ReadCharacteristic(characteristic); }