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:
parent
b23f66e151
commit
616af36d91
6 changed files with 19 additions and 18 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue