Mercurial > minori
diff dep/animia/src/fd/win32.cc @ 148:aa4df5a84338
dep/animia: use std::pair instead of std::tuple
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 13:27:13 -0500 |
parents | 1e696863b54c |
children | ffa535b6d630 |
line wrap: on
line diff
--- a/dep/animia/src/fd/win32.cc Tue Nov 14 13:19:40 2023 -0500 +++ b/dep/animia/src/fd/win32.cc Tue Nov 14 13:27:13 2023 -0500 @@ -243,7 +243,7 @@ } /* this could be changed to being a callback, but... I'm too lazy right now :) */ -bool Win32FdTools::EnumerateOpenFiles(const std::set<pid_t>& pids, std::vector<std::tuple<pid_t, std::string>>& files) { +bool Win32FdTools::EnumerateOpenFiles(const std::set<pid_t>& pids, std::vector<std::pair<pid_t, std::string>>& files) { std::unordered_map<pid_t, Handle> proc_handles; for (const pid_t& pid : pids) {