Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
filterx-istype: add FilterXRef safety check
FilterXRef can mimic the functionality of its referenced value, but only through virtual methods. filterx_object_is_type() is usually followed by an implicit type cast, which is impossible to implement transparently (without the unwrap() call), so this safety check has been added. This is far from ideal, but doing downcasts is the original and real problem here. Signed-off-by: László Várady <laszlo.varady@anno.io>
- Loading branch information