All: Cleanup all files

Add newline to end of files and remove whitespace from end of lines
This commit is contained in:
2024-01-24 14:43:46 +02:00
parent 3441f63298
commit dfe5a2d665
226 changed files with 466 additions and 460 deletions

View File

@@ -249,11 +249,11 @@ namespace BAN
return {};
if (has_sso() && fits_in_sso(new_size))
return {};
char* new_data = (char*)allocator(new_size + 1);
if (new_data == nullptr)
return Error::from_errno(ENOMEM);
if (m_size)
memcpy(new_data, data(), m_size + 1);

View File

@@ -193,4 +193,4 @@ namespace BAN
return m_data;
}
}
}

View File

@@ -38,7 +38,7 @@ namespace BAN
}
BAN::Time from_unix_time(uint64_t unix_time)
{
{
BAN::Time time {};
time.second = unix_time % 60; unix_time /= 60;
@@ -68,4 +68,4 @@ namespace BAN
return time;
}
}
}