mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 00:29:15 +00:00
Browser: Use format functions instead of printf.
This commit is contained in:
parent
b23f66e151
commit
616af36d91
Notes:
sideshowbarker
2024-07-19 02:04:39 +09:00
Author: https://github.com/asynts
Commit: 616af36d91
Pull-request: https://github.com/SerenityOS/serenity/pull/3679
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