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:
parent
4cf3a1eb41
commit
59e7ffa86d
5 changed files with 9 additions and 6 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue