Why is it a `const std::string&` type here?