mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 11:17:57 -05:00
core/video_core: Make NumIds functions constexpr
This commit is contained in:
@ -1221,7 +1221,7 @@ struct Regs {
|
||||
// Used for debugging purposes, so performance is not an issue here
|
||||
static std::string GetCommandName(int index);
|
||||
|
||||
static inline size_t NumIds() {
|
||||
static constexpr size_t NumIds() {
|
||||
return sizeof(Regs) / sizeof(u32);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user