diff options
author | Lenny Maiorani <lenny@colorado.edu> | 2021-05-20 17:27:29 -0600 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-05-21 10:07:22 +0100 |
commit | 68f76b9e3750c8f4e5e3ee8c3d346772ce6d3593 (patch) | |
tree | 2ccb3f1312800accf500f26468f87002a9aa752e /Userland/Games/Pong | |
parent | 800ea8ea969835297dc7e7da345a45b9dc5e751a (diff) | |
download | serenity-68f76b9e3750c8f4e5e3ee8c3d346772ce6d3593.zip |
Userland: Change typedef to using directive
Problem:
- `typedef`s are read backwards making it confusing.
- `using` statements can be used in template aliases.
- `using` provides similarity to most other C++ syntax.
- C++ core guidelines say to prefer `using` over `typedef`:
https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#Rt-using
Solution:
- Switch these where appropriate.
Diffstat (limited to 'Userland/Games/Pong')
0 files changed, 0 insertions, 0 deletions