Skip to content
Commit 7a97eeb1 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[Coroutines] checkAsyncFuncPointer - use cast<> instead of dyn_cast<> for...

[Coroutines] checkAsyncFuncPointer - use cast<> instead of dyn_cast<> for dereferenced pointer. NFCI.

We're immediately dereferencing the casted pointer, so use cast<> which will assert instead of dyn_cast<> which can return null.

Fixes static analyzer warning.
parent 914066fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment