mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
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.
This commit is contained in:
@@ -87,7 +87,7 @@ public:
|
||||
m_sql_client->on_next_result = [](auto, auto, auto row) {
|
||||
StringBuilder builder;
|
||||
builder.join(", "sv, row);
|
||||
outln("{}", builder.build());
|
||||
outln("{}", builder.to_deprecated_string());
|
||||
};
|
||||
|
||||
m_sql_client->on_results_exhausted = [this](auto, auto, auto total_rows) {
|
||||
@@ -299,7 +299,7 @@ private:
|
||||
for (auto i = 0; i < level; ++i)
|
||||
prompt_builder.append(" "sv);
|
||||
|
||||
return prompt_builder.build();
|
||||
return prompt_builder.to_deprecated_string();
|
||||
}
|
||||
|
||||
bool handle_command(StringView command)
|
||||
|
||||
Reference in New Issue
Block a user