chore: use emplace when possible (#37877)
This commit is contained in:
parent
3c0c4d5c27
commit
82442239bc
4 changed files with 9 additions and 9 deletions
|
@ -99,8 +99,8 @@ bool RelaunchAppWithHelper(const base::FilePath& helper,
|
|||
|
||||
base::LaunchOptions options;
|
||||
#if BUILDFLAG(IS_POSIX)
|
||||
options.fds_to_remap.push_back(
|
||||
std::make_pair(pipe_write_fd.get(), internal::kRelauncherSyncFD));
|
||||
options.fds_to_remap.emplace_back(pipe_write_fd.get(),
|
||||
internal::kRelauncherSyncFD);
|
||||
base::Process process = base::LaunchProcess(relaunch_argv, options);
|
||||
#elif BUILDFLAG(IS_WIN)
|
||||
base::Process process = base::LaunchProcess(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue