1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:38:11 +00:00

Browser: Use format functions instead of printf.

This commit is contained in:
asynts 2020-10-04 12:39:02 +02:00 committed by Andreas Kling
parent b23f66e151
commit 616af36d91
6 changed files with 19 additions and 18 deletions

View file

@ -30,10 +30,10 @@ namespace Browser {
void History::dump() const
{
dbg() << "Dump " << m_items.size() << " item(s)";
dbgf("Dump {} items(s)", m_items.size());
int i = 0;
for (auto& item : m_items) {
dbg() << "[" << i << "] " << item << " " << (m_current == i ? '*' : ' ');
dbgf("[{}] {} {}", i, item, m_current == i ? '*' : ' ');
++i;
}
}