Fix compile failure introduced by the fix for bug #46408.