mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-01-07 23:18:10 +01:00
Standardize location of storage-class specifiers: Place at beginning of declarations
Justification: C99 specifies that doing otherwise is an obsolescent feature.
This commit is contained in:
parent
b992e5f8ec
commit
29471be317
7 changed files with 7 additions and 7 deletions
|
|
@ -50,7 +50,7 @@ const char* GetNameOf(Opcode op) {
|
|||
}
|
||||
|
||||
const char* GetNameOf(Type type) {
|
||||
const static std::array<const char*, 12> names = {
|
||||
static const std::array<const char*, 12> names = {
|
||||
"Void", "RegRef", "ExtRegRef", "Opaque", "U1", "U8", "U16", "U32", "U64", "F32", "F64", "CoprocInfo"
|
||||
};
|
||||
return names.at(static_cast<size_t>(type));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue