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:
parent
383914c0c7
commit
c6643062b6
|
|
@ -218,16 +218,6 @@ public:
|
||||||
// postfix
|
// postfix
|
||||||
stream << ")";
|
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;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -242,16 +242,6 @@ public:
|
||||||
// postfix
|
// postfix
|
||||||
stream << ")";
|
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;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue