From 6e7459322d8336bfe52e390ab4a1b2e82e24c05e Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Thu, 26 Jan 2023 18:58:09 +0000 Subject: AK: Remove StringBuilder::build() in favor of to_deprecated_string() Having an alias function that only wraps another one is silly, and keeping the more obvious name should flush out more uses of deprecated strings. No behavior change. --- Tests/LibC/TestSnprintf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/LibC/TestSnprintf.cpp') diff --git a/Tests/LibC/TestSnprintf.cpp b/Tests/LibC/TestSnprintf.cpp index 055a64b37c..c7535db722 100644 --- a/Tests/LibC/TestSnprintf.cpp +++ b/Tests/LibC/TestSnprintf.cpp @@ -43,7 +43,7 @@ static DeprecatedString show(ByteBuffer const& buf) builder.append('_'); } builder.append(')'); - return builder.build(); + return builder.to_deprecated_string(); } template -- cgit v1.2.3