diff dep/animone/src/strategist.cc @ 264:9a04802848c0

*: 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 862d0d8619f6
children 5437009cb10e
line wrap: on
line diff
--- a/dep/animone/src/strategist.cc	Wed Apr 03 20:46:40 2024 -0400
+++ b/dep/animone/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) {