mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #13042 from hugueskamba/hk_override_warning_fix
Ensure all overridden virtual functions are marked with `override`pull/13077/head
commit
b21d5e8125
|
@ -341,7 +341,7 @@ public:
|
|||
nsapi_error_t add_dns_server(const SocketAddress &address, const char *interface_name) override;
|
||||
|
||||
/** @copydoc NetworkStack::get_ip_address */
|
||||
virtual nsapi_error_t get_ip_address(SocketAddress *address);
|
||||
nsapi_error_t get_ip_address(SocketAddress *address) override;
|
||||
|
||||
/** @copydoc NetworkStack::get_ip_address_if */
|
||||
nsapi_error_t get_ip_address_if(SocketAddress *address, const char *interface_name) override;
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
/* Local variant with stronger typing and manual address specification */
|
||||
nsapi_error_t add_ppp_interface(PPP &ppp, bool default_if, Nanostack::PPPInterface **interface_out);
|
||||
|
||||
nsapi_error_t remove_ppp_interface(OnboardNetworkStack::Interface **interface_out);
|
||||
nsapi_error_t remove_ppp_interface(OnboardNetworkStack::Interface **interface_out) override;
|
||||
|
||||
protected:
|
||||
|
||||
|
|
|
@ -138,7 +138,7 @@ public:
|
|||
* @param uname User name
|
||||
* @param password Password
|
||||
*/
|
||||
void set_credentials(const char *uname, const char *password);
|
||||
void set_credentials(const char *uname, const char *password) override;
|
||||
|
||||
/** Gets local IP address
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue