Replace a dynamic_cast with a static_cast
This commit is contained in:
parent
edccbc3ed5
commit
8d3c227285
1 changed files with 1 additions and 1 deletions
|
|
@ -427,7 +427,7 @@ namespace psemek::ui
|
|||
{
|
||||
post([weak_self = weak_from_this(), cb = on_text_entered_]{
|
||||
if (auto self = weak_self.lock())
|
||||
cb(dynamic_cast<edit const *>(self.get())->text_);
|
||||
cb(static_cast<edit const *>(self.get())->text_);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue