From d63a36c586824d0a2bb605ff514d2d351a0548cd Mon Sep 17 00:00:00 2001 From: Donatien Garnier Date: Fri, 17 Aug 2018 19:36:43 +0100 Subject: [PATCH] Some missing virtual qualifiers --- features/nfc/nfc/NFCNDEFCapable.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/nfc/nfc/NFCNDEFCapable.h b/features/nfc/nfc/NFCNDEFCapable.h index 02bf6642de..22b6121282 100644 --- a/features/nfc/nfc/NFCNDEFCapable.h +++ b/features/nfc/nfc/NFCNDEFCapable.h @@ -55,7 +55,7 @@ namespace nfc { * @param[in] buffer a buffer containing the message to parse * @param[in] size the buffer's size */ - void parse_ndef_message(const uint8_t* buffer, size_t size) { } + virtual void parse_ndef_message(const uint8_t* buffer, size_t size) { } /** * Build a NDEF message. @@ -64,7 +64,7 @@ namespace nfc { * @param[in] capacity the buffer's capacity * @return the number of bytes actually used */ - size_t build_ndef_message(uint8_t* buffer, size_t capacity) { return 0; } + virtual size_t build_ndef_message(uint8_t* buffer, size_t capacity) { return 0; } }; /**