Remove unnecessary != overload

This commit is contained in:
capitalistspz 2024-09-26 01:19:51 +01:00
parent b8692803cf
commit 919d26f6a2

View File

@ -10,7 +10,6 @@ public:
virtual std::optional<std::vector<uint8_t>> read_data() = 0; virtual std::optional<std::vector<uint8_t>> read_data() = 0;
virtual bool operator==(WiimoteDevice& o) const = 0; virtual bool operator==(WiimoteDevice& o) const = 0;
bool operator!=(WiimoteDevice& o) const { return *this == o; }
}; };
using WiimoteDevicePtr = std::shared_ptr<WiimoteDevice>; using WiimoteDevicePtr = std::shared_ptr<WiimoteDevice>;