diff --git a/variant.h b/variant.h index 5982597b..53226e7d 100644 --- a/variant.h +++ b/variant.h @@ -982,24 +982,6 @@ namespace etl private: - //*************************************************************************** - /// Attempts to up cast the parameter to the specified base class. - //*************************************************************************** - template - TBase& do_upcast(T& t) - { - return upcast_functor()(t); - } - - //*************************************************************************** - /// Attempts to up cast the parameter to the specified base class. - //*************************************************************************** - template - const TBase& do_upcast(const T& t) const - { - return upcast_functor()(t); - } - //*************************************************************************** /// The internal storage. /// Aligned on a suitable boundary, which should be good for all types.