Merge pull request #1451 from lioncash/const
SI_Device: Make GetDeviceNumber and GetDeviceType const.
This commit is contained in:
commit
f95b44c96d
1 file changed
+2
-2
@@ -84,12 +84,12 @@ public:
|
||||
virtual void DoState(PointerWrap& p) {}
|
||||
|
||||
|
||||
int GetDeviceNumber()
|
||||
int GetDeviceNumber() const
|
||||
{
|
||||
return m_iDeviceNumber;
|
||||
}
|
||||
|
||||
SIDevices GetDeviceType()
|
||||
SIDevices GetDeviceType() const
|
||||
{
|
||||
return m_deviceType;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user