mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2024-11-25 20:27:31 +08:00
Fix errors due to missing commit in the support branch.
This commit is contained in:
parent
ac10603fdb
commit
49f0277103
@ -4,6 +4,7 @@ endif()
|
|||||||
|
|
||||||
set(CMAKE_C_COMPILER clang)
|
set(CMAKE_C_COMPILER clang)
|
||||||
set(CMAKE_CXX_COMPILER clang++)
|
set(CMAKE_CXX_COMPILER clang++)
|
||||||
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
function(fuzz name)
|
function(fuzz name)
|
||||||
add_executable(${name}
|
add_executable(${name}
|
||||||
|
@ -96,8 +96,7 @@ MenuOption GeneratorMenuOption(const char* data, size_t size) {
|
|||||||
MenuOption option;
|
MenuOption option;
|
||||||
option.underline = GeneratorUnderlineOption(data, size);
|
option.underline = GeneratorUnderlineOption(data, size);
|
||||||
option.entries = GeneratorMenuEntryOption(data, size);
|
option.entries = GeneratorMenuEntryOption(data, size);
|
||||||
option.direction =
|
option.direction = static_cast<Direction>(GeneratorInt(data, size) % 4);
|
||||||
static_cast<MenuOption::Direction>(GeneratorInt(data, size) % 4);
|
|
||||||
return option;
|
return option;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user