Removed API check since we are at least on macOS 10.13

This commit is contained in:
Michael Starke 2021-11-04 14:22:36 +01:00
parent 31b062423a
commit 43bc4d7ae1
1 changed files with 1 additions and 6 deletions

View File

@ -28,12 +28,7 @@ uint16_t const kMPUnknownKeyCode = UINT16_MAX;
- (MPModifiedKey)modifiedKeyValue { - (MPModifiedKey)modifiedKeyValue {
MPModifiedKey key; MPModifiedKey key;
if(@available(macOS 10.13, *)) {
[self getValue:&key size:sizeof(MPModifiedKey)]; [self getValue:&key size:sizeof(MPModifiedKey)];
}
else {
[self getValue:&key];
}
return key; return key;
} }