1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-07-02 16:38:41 +00:00

Avoid VLA usage and prohibit it by compiler flag

This commit is contained in:
sfan5 2024-10-27 20:41:25 +01:00
parent 721e06451e
commit 38f4d11d53
4 changed files with 6 additions and 7 deletions

View file

@ -27,7 +27,7 @@ void showTextInputDialog(const std::string &hint, const std::string &current, in
* @param listSize Size of the list
* @param selectedIdx Selected index
*/
void showComboBoxDialog(const std::string optionList[], s32 listSize, s32 selectedIdx);
void showComboBoxDialog(const std::string *optionList, s32 listSize, s32 selectedIdx);
/**
* Opens a share intent to the file at path