Skip to content

Commit d5da9eb

Browse files
author
deepikabhavnani
committed
Resolved warning "call_in inherits implicit virtual"
1 parent 3c0d6f0 commit d5da9eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

features/lwipstack/LWIPStack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ class LWIP : public OnboardNetworkStack, private mbed::NonCopyable<LWIP> {
450450
* @param func Callback to be called
451451
* @return 0 on success, negative error code on failure
452452
*/
453-
nsapi_error_t call_in(int delay, mbed::Callback<void()> func);
453+
virtual nsapi_error_t call_in(int delay, mbed::Callback<void()> func);
454454

455455
struct mbed_lwip_socket {
456456
bool in_use;

0 commit comments

Comments
 (0)