Skip to content

Commit af350de

Browse files
author
Arto Kinnunen
committed
Allow method override
Remove final keyword to allow inheritance.
1 parent c8b667a commit af350de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

connectivity/nanostack/mbed-mesh-api/mbed-mesh-api/MeshInterfaceNanostack.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
class Nanostack::Interface : public OnboardNetworkStack::Interface, private mbed::NonCopyable<Nanostack::Interface> {
2727
public:
2828
nsapi_error_t get_ip_address(SocketAddress *address) final;
29-
char *get_mac_address(char *buf, nsapi_size_t buflen) final;
30-
nsapi_error_t set_mac_address(uint8_t *buf, nsapi_size_t buflen) final;
29+
char *get_mac_address(char *buf, nsapi_size_t buflen);
30+
nsapi_error_t set_mac_address(uint8_t *buf, nsapi_size_t buflen);
3131
nsapi_error_t get_netmask(SocketAddress *address) final;
3232
nsapi_error_t get_gateway(SocketAddress *address) override;
3333
void attach(mbed::Callback<void(nsapi_event_t, intptr_t)> status_cb) final;

0 commit comments

Comments
 (0)