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; - } }; /** diff --git a/src/basiccancelframe.h b/src/basiccancelframe.h index e665ab2..6dd26dd 100644 --- a/src/basiccancelframe.h +++ b/src/basiccancelframe.h @@ -102,7 +102,7 @@ public: * Return whether to wait for a response * @return boolean */ - const bool noWait() const + bool noWait() const { return _noWait.get(0); }