From 0d49fab1a622cd2830713831cc7dfa5c58d3e682 Mon Sep 17 00:00:00 2001 From: Chris Thrasher Date: Wed, 27 Dec 2023 23:39:59 -0600 Subject: [PATCH] Remove unnecessary private operators Equality operations are not automatically generated by the compiler so we can omit this. --- include/SFML/Network/Packet.hpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/include/SFML/Network/Packet.hpp b/include/SFML/Network/Packet.hpp index 3998c699f..13a13bd7f 100644 --- a/include/SFML/Network/Packet.hpp +++ b/include/SFML/Network/Packet.hpp @@ -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 ///