mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
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:
parent
4dd442a90e
commit
e9692a5da6
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user