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. --- Userland/DevTools/HackStudio/Editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/DevTools/HackStudio/Editor.cpp') diff --git a/Userland/DevTools/HackStudio/Editor.cpp b/Userland/DevTools/HackStudio/Editor.cpp index c56edd7790..c4c15a402d 100644 --- a/Userland/DevTools/HackStudio/Editor.cpp +++ b/Userland/DevTools/HackStudio/Editor.cpp @@ -737,7 +737,7 @@ void Editor::handle_function_parameters_hint_request() } html.append(""sv); - s_tooltip_page_view->load_html(html.build(), {}); + s_tooltip_page_view->load_html(html.to_deprecated_string(), {}); auto cursor_rect = current_editor().cursor_content_rect().location().translated(screen_relative_rect().location()); -- cgit v1.2.3