WiimoteDevice: Make DoesChannelExist() a const member function

This only queries internal class state, it doesn't modify it.
This commit is contained in:
Lioncash 2018-06-09 15:52:31 -04:00
parent f906785e88
commit 94fd8505d6
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ private:
typedef std::map<u32, SChannel> CChannelMap;
CChannelMap m_Channel;
bool DoesChannelExist(u16 _SCID) { return m_Channel.find(_SCID) != m_Channel.end(); }
bool DoesChannelExist(u16 scid) const { return m_Channel.find(scid) != m_Channel.end(); }
void SendCommandToACL(u8 _Ident, u8 _Code, u8 _CommandLength, u8* _pCommandData);
void SignalChannel(u8* _pData, u32 _Size);