mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-09 01:06:11 +00:00
AK: Rename downcast<T> => verify_cast<T>
This makes it much clearer what this cast actually does: it will VERIFY that the thing we're casting is a T (using is<T>()).
This commit is contained in:
@@ -74,7 +74,7 @@ void ThreadStackWidget::refresh()
|
||||
|
||||
void ThreadStackWidget::custom_event(Core::CustomEvent& event)
|
||||
{
|
||||
auto& completion_event = downcast<CompletionEvent>(event);
|
||||
auto& completion_event = verify_cast<CompletionEvent>(event);
|
||||
|
||||
StringBuilder builder;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user