Removed unneeded self-cast operators

They are not used and caused a lot of warnings
while compiling and using AMQP-CPP
This commit is contained in:
theirix 2016-09-02 22:33:12 +03:00
parent 383914c0c7
commit c6643062b6
2 changed files with 0 additions and 20 deletions

View File

@ -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;
}
};
/**

View File

@ -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;
}
};
/**