[clang-modernize] Update for API change.

NFC.