CExportGameDialog: Mark search string as constexpr
This commit is contained in:
parent
1f1d48fc40
commit
dbd2912ee5
|
@ -290,7 +290,7 @@ float CExportGameDialog::FindBuildVersion()
|
|||
uint32 DolSize = (uint32) mpDisc->getDataPartition()->getDOLSize();
|
||||
|
||||
// Find build info string
|
||||
const char *pkSearchText = "!#$MetroidBuildInfo!#$";
|
||||
constexpr char pkSearchText[] = "!#$MetroidBuildInfo!#$";
|
||||
const int SearchTextSize = strlen(pkSearchText);
|
||||
|
||||
for (uint32 SearchIdx = 0; SearchIdx < DolSize - SearchTextSize + 1; SearchIdx++)
|
||||
|
|
Loading…
Reference in New Issue