diff --git a/include/array.h b/include/array.h index a86f1be..0ae9246 100644 --- a/include/array.h +++ b/include/array.h @@ -218,16 +218,6 @@ public: // postfix stream << ")"; } - - /** - * Cast to array (compiler will probably never call this method) - * @return Array - */ - virtual operator const Array& () const override - { - // this already is an array, so no cast is necessary - return *this; - } }; /** diff --git a/include/table.h b/include/table.h index fd90bed..30df4d5 100644 --- a/include/table.h +++ b/include/table.h @@ -242,16 +242,6 @@ public: // postfix stream << ")"; } - - /** - * Cast to table (compiler will probably never call this method) - * @return Table - */ - virtual operator const Table& () const override - { - // this already is an array, so no cast is necessary - return *this; - } }; /**