ARMmbed / ble-x-nucleo-idb0xa1

port of BLE_API to ST BLE shield
14 stars 5 forks source link

Fix invalid copy of Timeout objects. #27

Closed pan- closed 7 years ago

pan- commented 7 years ago

By definition Timeout objects are not value types, they have an identity. Due to the lack of protection against copy, those objects were copied in BlueNRGGap.

pan- commented 7 years ago

@apalmieriGH This is a small fix for an issue that has been detected with: https://github.com/ARMmbed/mbed-os/pull/4594

apalmieriGH commented 7 years ago

@pan- thanks for fixing.