Fix clang compilation issue seen in master to rel 22.
TrigNavTools: Fix compilation with clang+gcc12.
See merge request !57238 (merged)
(cherry picked from commit 697aa0e8)
47b83439 TrigNavTools: Fix compilation with clang+gcc12.
Edited by Tomasz Bold