diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-21 10:31:45 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-03-21 10:31:45 +0100 |
commit | 8553a64aa9eddfa9c7ed166ecb220f1a8c115b78 (patch) | |
tree | 970843c27d6079d71be15715adb984e375870e58 /dinput/win32-joystick.hpp | |
parent | 89d5870138a4ad26c00cddb209ebe5312fe85dc3 (diff) |
dinput: get rid of refcounting
Diffstat (limited to 'dinput/win32-joystick.hpp')
-rw-r--r-- | dinput/win32-joystick.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dinput/win32-joystick.hpp b/dinput/win32-joystick.hpp index 331e4968..3aa6f315 100644 --- a/dinput/win32-joystick.hpp +++ b/dinput/win32-joystick.hpp @@ -87,7 +87,7 @@ private: { std::vector<QString> all; joys_t joys; - di_t di {}; + di_t di; static BOOL CALLBACK EnumJoysticksCallback(const DIDEVICEINSTANCE* pdidInstance, VOID* pContext); static BOOL CALLBACK EnumObjectsCallback(const DIDEVICEOBJECTINSTANCE* pdidoi, VOID* ctx); |