Skip to content
Commit 2e52f76a authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[SemaOverload] compareConversionFunctions - use castAs<> instead of getAs<> to...

[SemaOverload] compareConversionFunctions - use castAs<> instead of getAs<> to avoid dereference of nullptr

The pointer is dereferenced immediately below, so assert the cast is correct instead of returning nullptr
parent c61299e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment