InputCommon: Enable ARC for obj-c++

This commit is contained in:
TellowKrinkle
2022-08-12 02:09:53 -05:00
parent d29b349a0c
commit b96bc4267e
2 changed files with 4 additions and 1 deletions

View File

@ -149,7 +149,7 @@ KeyboardAndMouse::KeyboardAndMouse(void* view)
AddCombinedInput("Shift", {"Left Shift", "Right Shift"});
AddCombinedInput("Ctrl", {"Left Control", "Right Control"});
NSView* cocoa_view = reinterpret_cast<NSView*>(view);
NSView* cocoa_view = (__bridge NSView*)view;
// PopulateDevices may be called on the Emuthread, so we need to ensure that
// these UI APIs are only ever called on the main thread.