WiimoteDevice: Make equality actually constant

This commit is contained in:
capitalistspz 2024-09-26 05:52:40 +01:00
parent e6e437be17
commit 447d760482
5 changed files with 6 additions and 6 deletions

View file

@ -112,7 +112,7 @@ std::optional<std::vector<uint8>> L2CapWiimote::read_data()
}
bool L2CapWiimote::operator==(WiimoteDevice& rhs) const
bool L2CapWiimote::operator==(const WiimoteDevice& rhs) const
{
auto mote = dynamic_cast<const L2CapWiimote*>(&rhs);
if (!mote)