Fix some tidy error
``` warning: argument name 'chg_aware' in comment does not match parameter name 'chg_unaware' [bugprone-argument-comment] if (tcb.in_use) gatt_sr_update_cl_status(tcb, /* chg_aware= */ false); ^~~~~~~~~~~~~~~~ /* chg_unaware= */ note: 'chg_unaware' declared here extern void gatt_sr_update_cl_status(tGATT_TCB& tcb, bool chg_unaware); ^ warning: the parameter 'name' is copied for each invocation but only used as a const reference; consider making it a const reference tGATT_IF GATT_Register(const Uuid& app_uuid128, std::string name, ^ const & warning: the parameter 's' is copied for each invocation but only used as a const reference; consider making it a const reference void Push(std::string s) { ^ const & ``` Test: build with tidy Change-Id: I0827dd82bb90505a63e0ad4a87b6dfb1f78dd3b5
Loading
Please register or sign in to comment