All: Clear lines with only whitspace in them
This commit is contained in:
@@ -119,7 +119,7 @@ namespace BAN
|
||||
m_size -= count;
|
||||
m_data[m_size] = '\0';
|
||||
}
|
||||
|
||||
|
||||
void String::clear()
|
||||
{
|
||||
m_size = 0;
|
||||
|
||||
@@ -171,7 +171,7 @@ namespace BAN
|
||||
{
|
||||
return m_size;
|
||||
}
|
||||
|
||||
|
||||
const char* StringView::data() const
|
||||
{
|
||||
return m_data;
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user