All: Clear lines with only whitspace in them

This commit is contained in:
2023-09-10 00:31:42 +03:00
parent d77f455065
commit 720bc418a6
67 changed files with 95 additions and 119 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ namespace BAN
m_size -= count;
m_data[m_size] = '\0';
}
void String::clear()
{
m_size = 0;
+1 -1
View File
@@ -171,7 +171,7 @@ namespace BAN
{
return m_size;
}
const char* StringView::data() const
{
return m_data;
+1 -1
View File
@@ -24,7 +24,7 @@ namespace BAN
leap_years++;
return leap_years;
}
static constexpr uint64_t month_days[] { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334 };
uint64_t to_unix_time(const BAN::Time& time)