From 3cfd19b2ef4706339376bc10dc12c8456f4f71b9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 28 Sep 2020 21:38:48 +0200 Subject: [PATCH] - removed const that erorred out. --- src/common/platform/posix/cocoa/i_joystick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/platform/posix/cocoa/i_joystick.cpp b/src/common/platform/posix/cocoa/i_joystick.cpp index 6f0e22c8b..9a003acac 100644 --- a/src/common/platform/posix/cocoa/i_joystick.cpp +++ b/src/common/platform/posix/cocoa/i_joystick.cpp @@ -1066,7 +1066,7 @@ void IOKitJoystickManager::UseAxesPolling(const bool axesPolling) void PostDeviceChangeEvent() { - const event_t event = { EV_DeviceChange }; + event_t event = { EV_DeviceChange }; D_PostEvent(&event); }