Mercurial > minori
comparison dep/animia/src/animia.cc @ 215:031a257ee019
dep/animia: fd/proc: use std::filesystem, etc. changes
i.e. don't use std::stoi so we don't get exceptions...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 07 Jan 2024 11:44:40 -0500 |
parents | bc1ae1810855 |
children | 4d461ef7d424 |
comparison
equal
deleted
inserted
replaced
214:8d35061e7505 | 215:031a257ee019 |
---|---|
56 continue; | 56 continue; |
57 | 57 |
58 results.push_back({ResultType::Process, player, process, {}, {}}); | 58 results.push_back({ResultType::Process, player, process, {}, {}}); |
59 break; | 59 break; |
60 } | 60 } |
61 | |
61 return true; | 62 return true; |
62 }; | 63 }; |
63 | 64 |
64 if (!internal::EnumerateOpenProcesses(process_proc)) | 65 if (!internal::EnumerateOpenProcesses(process_proc)) |
65 return false; | 66 return false; |