Mercurial > libanimone
changeset 1:0c3cc9e6cd84
*: improve multiple things
e.g. making some strings.cc functions modify strings in-place,
improving m4_ax_have_qt.m4 code, making anime_db.cc rely on
std::optional rather than std::shared_ptr (which was stupid
anyway)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 11 Apr 2024 10:15:57 -0400 |
parents | a76fa32bdc92 |
children | 97ea6a3e1954 |
files | src/strategist.cc |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/strategist.cc Mon Apr 01 02:43:44 2024 -0400 +++ b/src/strategist.cc Thu Apr 11 10:15:57 2024 -0400 @@ -74,8 +74,6 @@ /* map pids to our results, saves time with open_file_proc */ std::unordered_map<pid_t, Result*> pid_map; - pid_map.reserve(results.size()); - std::set<pid_t> pids; for (Result& result : results) {