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

UserspaceEmulator: Use vdbgln() instead of dbgln() when reporting

This will avoid conflict with the upcoming compiletime checks.
This commit is contained in:
AnotherTest 2021-02-07 15:31:13 +03:30 committed by Andreas Kling
parent f0d85acc94
commit b68e34cc2e

View file

@ -34,7 +34,7 @@ template<typename... Ts>
void reportln(const StringView& format, Ts... args)
{
if (g_report_to_debug)
dbgln(format, args...);
AK::vdbgln(format, AK::VariadicFormatParams { args... });
else
warnln(format, args...);
}