Fix compilation on main (#40428)

Updates #40420 

Release Notes:

- N/A
59991e9c4dCole Miller committed on 10/16/2025, 9:22:35 PM· committed by GitHubparente161899
1 file changedLine totals unavailable