1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:07:45 +00:00

AK: Remove out() and warn().

This commit is contained in:
asynts 2020-11-09 10:40:23 +01:00 committed by Andreas Kling
parent 74d9616bec
commit 74438e6fdc
2 changed files with 0 additions and 38 deletions

View file

@ -186,20 +186,6 @@ bool DebugLogStream::is_enabled()
bool DebugLogStream::s_enabled = true;
#ifndef KERNEL
StdLogStream::~StdLogStream()
{
char newline = '\n';
write(&newline, 1);
}
void StdLogStream::write(const char* characters, int length) const
{
if (::write(m_fd, characters, length) < 0) {
perror("StdLogStream::write");
ASSERT_NOT_REACHED();
}
}
const LogStream& operator<<(const LogStream& stream, double value)
{
return stream << String::format("%.4f", value);
@ -209,7 +195,6 @@ const LogStream& operator<<(const LogStream& stream, float value)
{
return stream << String::format("%.4f", value);
}
#endif
void dump_bytes(ReadonlyBytes bytes)