Bug 1723050 - Part 12: Replace typedef by using in dom/gamepad/ r=smaug

Differential Revision: https://phabricator.services.mozilla.com/D121310
This commit is contained in:
Kagami Sascha Rosylight 2021-08-09 13:37:26 +00:00
parent 4dd442a90e
commit e9692a5da6

View File

@ -151,7 +151,7 @@ class Gamepad {
};
// Drop this in favor of decltype when we require a new enough SDK.
typedef void(WINAPI* XInputEnable_func)(BOOL);
using XInputEnable_func = void(WINAPI*)(BOOL);
// RAII class to wrap loading the XInput DLL
class XInputLoader {