!69716 (merged) broke the centos7-gcc11 nightly because of a missing typename. This MR fixes it.
typename
c.f. !69716 (comment 7725951)