All: Clear lines with only whitspace in them

This commit is contained in:
Bananymous
2023-09-09 22:52:03 +03:00
parent 1fcf122c50
commit 921d95d18f
67 changed files with 95 additions and 119 deletions

View File

@@ -119,7 +119,7 @@ namespace BAN
m_size -= count;
m_data[m_size] = '\0';
}
void String::clear()
{
m_size = 0;

View File

@@ -171,7 +171,7 @@ namespace BAN
{
return m_size;
}
const char* StringView::data() const
{
return m_data;

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)