diff options
author | Linus Groh <mail@linusgroh.de> | 2022-12-06 01:12:49 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-06 08:54:33 +0100 |
commit | 57dc179b1fce5d4b7171311b04667debfe693095 (patch) | |
tree | a459d1aef92dc4e49bbf03b32621b1e7e30d4e64 /Userland/DevTools/GMLPlayground/main.cpp | |
parent | 6e19ab2bbce0b113b628e6f8e9b5c0640053933e (diff) | |
download | serenity-57dc179b1fce5d4b7171311b04667debfe693095.zip |
Everywhere: Rename to_{string => deprecated_string}() where applicable
This will make it easier to support both string types at the same time
while we convert code, and tracking down remaining uses.
One big exception is Value::to_string() in LibJS, where the name is
dictated by the ToString AO.
Diffstat (limited to 'Userland/DevTools/GMLPlayground/main.cpp')
-rw-r--r-- | Userland/DevTools/GMLPlayground/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/DevTools/GMLPlayground/main.cpp b/Userland/DevTools/GMLPlayground/main.cpp index 1a5514fc90..9152c12329 100644 --- a/Userland/DevTools/GMLPlayground/main.cpp +++ b/Userland/DevTools/GMLPlayground/main.cpp @@ -49,7 +49,7 @@ UnregisteredWidget::UnregisteredWidget(DeprecatedString const& class_name) StringBuilder builder; builder.append(class_name); builder.append("\nnot registered"sv); - m_text = builder.to_string(); + m_text = builder.to_deprecated_string(); } void UnregisteredWidget::paint_event(GUI::PaintEvent& event) @@ -116,7 +116,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) builder.append("[*]"sv); builder.append(" - GML Playground"sv); - window->set_title(builder.to_string()); + window->set_title(builder.to_deprecated_string()); }; editor->on_change = [&] { |