mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
Kernel: Declare type aliases with "using" instead of "typedef"
This is the idiomatic way to declare type aliases in modern C++. Flagged by Sonar Cloud as a "Code Smell", but I happen to agree with this particular one. :^)
This commit is contained in:
parent
7463eb52e8
commit
9d1b27263f
Notes:
sideshowbarker
2024-07-18 04:44:21 +09:00
Author: https://github.com/bgianfo
Commit: 9d1b27263f
Pull-request: https://github.com/SerenityOS/serenity/pull/9833
7 changed files with 8 additions and 8 deletions
|
@ -80,7 +80,7 @@ enum class VeilState {
|
|||
Locked,
|
||||
};
|
||||
|
||||
typedef HashMap<FlatPtr, RefPtr<FutexQueue>> FutexQueues;
|
||||
using FutexQueues = HashMap<FlatPtr, RefPtr<FutexQueue>>;
|
||||
|
||||
struct LoadResult;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue