gc_adapter: Make DeviceConnected() a const member function
This doesn't modify instance state, so it can be made const.
This commit is contained in:
parent
841b295ad0
commit
c715fc4c5e
3 changed files with 9 additions and 9 deletions
|
@ -76,7 +76,7 @@ public:
|
|||
void EndConfiguration();
|
||||
|
||||
/// Returns true if there is a device connected to port
|
||||
bool DeviceConnected(std::size_t port);
|
||||
bool DeviceConnected(std::size_t port) const;
|
||||
|
||||
std::array<Common::SPSCQueue<GCPadStatus>, 4>& GetPadQueue();
|
||||
const std::array<Common::SPSCQueue<GCPadStatus>, 4>& GetPadQueue() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue