src/html.h

changeset 54
586dcd606e47
parent 52
e9edc3bd0301
--- a/src/html.h	Fri Jun 20 17:15:18 2025 +0200
+++ b/src/html.h	Sat Jun 28 11:32:08 2025 +0200
@@ -29,6 +29,8 @@
 #include <chrono>
 #include <array>
 
+#include "commit-data.h"
+
 namespace html {
 
     static constexpr unsigned max_indentation = 16;
@@ -47,7 +49,7 @@
     void row_begin(unsigned int row);
     void row_end();
     void cell_out_of_range();
-    void cell(std::chrono::year_month_day ymd, unsigned commits);
+    void cell(std::chrono::year_month_day ymd, const fm::commits &commits = {});
 
 }
 

mercurial