From a2f461c38e4d9b78e9bbe5089657b0bdaf3597e0 Mon Sep 17 00:00:00 2001 From: paul-szczepanek-arm <33840200+paul-szczepanek-arm@users.noreply.github.com> Date: Sun, 11 Nov 2018 20:32:50 +0000 Subject: [PATCH] reference instead of pointer --- features/FEATURE_BLE/ble/Gap.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/features/FEATURE_BLE/ble/Gap.h b/features/FEATURE_BLE/ble/Gap.h index 3be484d9f7..53d9d8b824 100644 --- a/features/FEATURE_BLE/ble/Gap.h +++ b/features/FEATURE_BLE/ble/Gap.h @@ -1530,16 +1530,12 @@ public: */ virtual ble_error_t connect( TargetPeerAddressType_t peerAddressType, - const BLEProtocol::AddressBytes_t peerAddress, + const BLEProtocol::AddressBytes_t &peerAddress, const ExtendedConnectParameters_t &connectionParams ) { - (void)filterPolicy; - (void)ownAddressType; (void)peerAddressType; (void)peerAddress; - (void)connectionParams1M; - (void)connectionParams2M; - (void)connectionParamsCoded; + (void)connectionParams; /* Requesting action from porter(s): override this API if this capability is supported. */ return BLE_ERROR_NOT_IMPLEMENTED;