src/heatmap.h

changeset 16
730a5638c4ad
parent 5
60c2588b4455
child 44
de22ded6d50a
--- a/src/heatmap.h	Sat Feb 01 15:42:48 2025 +0100
+++ b/src/heatmap.h	Sat Feb 01 16:01:14 2025 +0100
@@ -29,6 +29,8 @@
 #include <string>
 #include <chrono>
 
+#include "settings.h"
+
 namespace fm {
 
 class heatmap {
@@ -46,7 +48,7 @@
     void set_repo(const std::string& repo) {
         m_current_repo.assign(repo);
     }
-    void add(const std::string& log);
+    void add(const settings &settings, const std::string& log);
 
     [[nodiscard]] const auto& data() const {
         return m_heatmap;

mercurial