It compile file without deprecated method

Authored by mlaurent on Sep 11 2019, 6:10 AM.