Remove obsolete code

This commit is contained in:
Nikita Lisitsa 2022-05-21 20:25:02 +03:00
parent d40dd82268
commit 12733cf239

View file

@ -223,12 +223,6 @@ namespace psemek::ui
{
if (auto text = std::get_if<text_chunk>(&chunk))
{
if (text->text.find("yo") != std::string::npos)
{
int x = 42;
(void)x;
}
auto const merged_text_style = *st->text_style | text->style;
bool const bold = merged_text_style.is_set(text_style_flag::bold);