mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
b server tests
This commit is contained in:
+1
-1
@@ -24,7 +24,7 @@ bool UI_item::is_type(json j)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return magic_enum::enum_cast<UI_enum>(j.at("type")).value_or(UI_enum::end) == m_type;
|
||||
return magic_enum::enum_cast<UI_enum>((std::string)j.at("type")).value_or(UI_enum::end) == m_type;
|
||||
}
|
||||
|
||||
void UI_item::set_text(std::string text)
|
||||
|
||||
Reference in New Issue
Block a user