Fix haiku build.

This commit is contained in:
Martín Lucas Golini
2025-01-11 23:35:15 +00:00
parent 7c795fda60
commit e67798f84d

View File

@@ -1742,7 +1742,7 @@ std::vector<std::pair<Uint64, std::string>> Sys::listProcesses() {
int32 cookie = 0;
team_info teamInfo;
while ( get_next_team_info( &cookie, &teamInfo ) == B_OK ) {
pids.push_back( teamInfo.team, std::string{ teamInfo.name } );
pids.emplace_back( teamInfo.team, std::string{ teamInfo.name } );
}
return pids;
#else