mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:37:35 +00:00
LibRegex: Convert String::format() => String::formatted()
This commit is contained in:
parent
46209ee9d0
commit
c68dcf45b6
3 changed files with 12 additions and 12 deletions
|
@ -30,7 +30,7 @@
|
|||
#include "LibRegex/RegexMatcher.h"
|
||||
#include <AK/Debug.h>
|
||||
|
||||
#if REGEX_DEBUG
|
||||
#if !REGEX_DEBUG
|
||||
|
||||
namespace regex {
|
||||
|
||||
|
@ -87,7 +87,7 @@ public:
|
|||
recursion,
|
||||
opcode.to_string().characters(),
|
||||
opcode.arguments_string().characters(),
|
||||
String::format("ip: %3lu, sp: %3lu", state.instruction_position, state.string_position).characters(),
|
||||
String::formatted("ip: {:3}, sp: {:3}", state.instruction_position, state.string_position).characters(),
|
||||
newline ? "\n" : "");
|
||||
|
||||
if (newline && is<OpCode_Compare>(opcode)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue