mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-20 12:55:45 +00:00
kernel: Make handle type declarations constexpr
Some objects declare their handle type as const, while others declare it as constexpr. This makes the const ones constexpr for consistency, and prevent unexpected compilation errors if these happen to be attempted to be used within a constexpr context.
This commit is contained in:
parent
1302d026a1
commit
255a6c6f4b
10 changed files with 10 additions and 10 deletions
|
@ -85,7 +85,7 @@ public:
|
|||
return name;
|
||||
}
|
||||
|
||||
static const HandleType HANDLE_TYPE = HandleType::Process;
|
||||
static constexpr HandleType HANDLE_TYPE = HandleType::Process;
|
||||
HandleType GetHandleType() const override {
|
||||
return HANDLE_TYPE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue