1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

AK: Make the return type of dbgputstr consistent.

This commit is contained in:
asynts 2020-10-04 17:42:31 +02:00 committed by Andreas Kling
parent 4cf3a1eb41
commit 59e7ffa86d
5 changed files with 9 additions and 6 deletions

View file

@ -585,7 +585,7 @@ void vwarn(StringView fmtstr, TypeErasedFormatParams params, bool newline)
void raw_dbg(StringView string)
{
const auto retval = dbgputstr(string.characters_without_null_termination(), string.length());
ASSERT(static_cast<size_t>(retval) == string.length());
ASSERT(retval == 0);
}
void vdbg(StringView fmtstr, TypeErasedFormatParams params, bool newline)
{