You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(BLE): don't pass primitive types by reference
There is no need to pass primitive types by reference,
especially by non-const reference as it was in BLECharacteristic.
Pass primitive types by value instead, as it should be,
and used everywhere else except this one odd class.
This allows allows to pass function result as `setValue()`
argument without creating temporary variable.
0 commit comments