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:
parent
721e06451e
commit
38f4d11d53
4 changed files with 6 additions and 7 deletions
|
@ -27,7 +27,7 @@ void showTextInputDialog(const std::string &hint, const std::string ¤t, 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue