diff dep/animia/src/fd/bsd.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 d8a61e7e2a36
children ffa535b6d630
line wrap: on
line diff
--- a/dep/animia/src/fd/bsd.cc	Tue Nov 14 13:19:40 2023 -0500
+++ b/dep/animia/src/fd/bsd.cc	Tue Nov 14 13:27:13 2023 -0500
@@ -84,7 +84,7 @@
 }
 
 /* this only works on OS X :( */
-bool UnixFdTools::EnumerateOpenFiles(const std::set<pid_t>& pids, std::vector<std::tuple<pid_t, std::string>>& files) {
+bool UnixFdTools::EnumerateOpenFiles(const std::set<pid_t>& pids, std::vector<std::pair<pid_t, std::string>>& files) {
 	for (const auto& pid : pids) {
 		int bufsz = proc_pidinfo(pid, PROC_PIDLISTFDS, 0, NULL, 0);
 		if (bufsz == -1)