Slight improvements

This commit is contained in:
2023-10-18 20:04:32 +02:00
parent aa7eade85e
commit d9dc2ea79f
2 changed files with 5 additions and 5 deletions

View File

@@ -310,12 +310,12 @@ namespace OpenVulkano::Input
[[nodiscard]] int16_t GetInputKey() const { return key; }
bool operator==(const InputKey& other)
bool operator==(const InputKey& other) const
{
return deviceType == other.deviceType && type == other.type && key == other.key;
}
bool operator!=(const InputKey& other)
bool operator!=(const InputKey& other) const
{
return !(*this == other);
}