Remove unnecessary private operators

Equality operations are not automatically generated by the compiler
so we can omit this.
This commit is contained in:
Chris Thrasher 2023-12-27 23:39:59 -06:00
parent ed4dd9fd01
commit 0d49fab1a6

View File

@ -410,13 +410,6 @@ protected:
virtual void onReceive(const void* data, std::size_t size);
private:
////////////////////////////////////////////////////////////
/// Disallow comparisons between packets
///
////////////////////////////////////////////////////////////
bool operator==(const Packet& right) const;
bool operator!=(const Packet& right) const;
////////////////////////////////////////////////////////////
/// \brief Check if the packet can extract a given number of bytes
///