From 26b074fc2918ec90680e72af2aa0946a2e83572d Mon Sep 17 00:00:00 2001 From: Rapsssito Date: Sat, 29 Jun 2024 12:43:16 +0200 Subject: [PATCH] Make clang happy --- esphome/components/esp32_ble_server/ble_service.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esphome/components/esp32_ble_server/ble_service.h b/esphome/components/esp32_ble_server/ble_service.h index 4ba575543f..ac8db958a5 100644 --- a/esphome/components/esp32_ble_server/ble_service.h +++ b/esphome/components/esp32_ble_server/ble_service.h @@ -52,8 +52,8 @@ class BLEService { bool is_deleted() { return this->state_ == DELETED; } void on_client_connect(const std::function &&func) { this->on_client_connect_ = func; } void on_client_disconnect(const std::function &&func) { this->on_client_disconnect_ = func; } - void emit_client_connect(const uint16_t conn_id); - void emit_client_disconnect(const uint16_t conn_id); + void emit_client_connect(uint16_t conn_id); + void emit_client_disconnect(uint16_t conn_id); protected: std::vector characteristics_;