From c52d498159efaade842f99a09b2123e8ae4a14f3 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sat, 31 Oct 2020 10:54:37 +0000 Subject: [PATCH] Eliminate ARM compiler v5 warnings --- include/etl/function.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/etl/function.h b/include/etl/function.h index 450aad77..607e04f8 100644 --- a/include/etl/function.h +++ b/include/etl/function.h @@ -148,7 +148,7 @@ namespace etl //************************************************************************* /// The function operator that calls the destination function. //************************************************************************* - void operator ()() const ETL_OVERRIDE + virtual void operator ()() const ETL_OVERRIDE { // Call the object's member function. (p_object->*p_function)(); @@ -214,7 +214,7 @@ namespace etl //************************************************************************* /// The function operator that calls the destination function. //************************************************************************* - void operator ()() const ETL_OVERRIDE + virtual void operator ()() const ETL_OVERRIDE { // Call the function. (*p_function)(); @@ -290,7 +290,7 @@ namespace etl /// The function operator that calls the destination function. ///\param data The data to pass to the function. //************************************************************************* - void operator ()() const ETL_OVERRIDE + virtual void operator ()() const ETL_OVERRIDE { // Call the object's member function. (p_object->*Function)(); @@ -344,7 +344,7 @@ namespace etl /// The function operator that calls the destination function. ///\param data The data to pass to the function. //************************************************************************* - void operator ()() const ETL_OVERRIDE + virtual void operator ()() const ETL_OVERRIDE { // Call the object's member function. (Instance.*Function)(); @@ -408,7 +408,7 @@ namespace etl /// The function operator that calls the destination function. ///\param data The data to pass to the function. //************************************************************************* - void operator ()() const ETL_OVERRIDE + virtual void operator ()() const ETL_OVERRIDE { // Call the function. (*Function)();