mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-07 15:31:18 +12:00
WiimoteDevice
: Make equality actually constant
This commit is contained in:
parent
e6e437be17
commit
447d760482
5 changed files with 6 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue