src/commit-data.h

changeset 61
d77763d2fdda
parent 56
3d2720f95cfb
--- a/src/commit-data.h	Sun Aug 10 11:59:03 2025 +0200
+++ b/src/commit-data.h	Sun Aug 10 15:22:25 2025 +0200
@@ -25,16 +25,19 @@
 #ifndef COMMIT_DATA_H
 #define COMMIT_DATA_H
 
-#include <map>
+#include <unordered_map>
 #include <numeric>
 #include <vector>
 #include <string>
 
 namespace fm {
     struct commits final {
-        std::map<
+        std::unordered_map<
             std::string, // repository name
             std::vector<std::string> > summaries;
+        std::unordered_map<
+            std::string, // repository name
+            std::vector<std::string> > tags;
 
         [[nodiscard]] unsigned count(const std::string &repo) const {
             return summaries.at(repo).size();

mercurial