chore: remove unnecessary temporary std::pair (#4103)

1 file changed