Skip to content

Commit 74737b4

Browse files
committed
Prefer using to typedef
1 parent b5d8899 commit 74737b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/include/modules/DFSDL.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ struct SDL_Rect;
1111
struct SDL_PixelFormat;
1212
struct SDL_Window;
1313
union SDL_Event;
14-
typedef int32_t SDL_Keycode;
14+
using SDL_Keycode = int32_t;
1515

1616
namespace DFHack
1717
{

0 commit comments

Comments
 (0)