mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
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.
This commit is contained in:
parent
6e19ab2bbc
commit
57dc179b1f
597 changed files with 1973 additions and 1972 deletions
|
@ -449,7 +449,7 @@ int Shell::builtin_export(int argc, char const** argv)
|
|||
auto values = value->resolve_as_list(*this);
|
||||
StringBuilder builder;
|
||||
builder.join(' ', values);
|
||||
parts.append(builder.to_string());
|
||||
parts.append(builder.to_deprecated_string());
|
||||
} else {
|
||||
// Ignore the export.
|
||||
continue;
|
||||
|
@ -745,7 +745,7 @@ int Shell::builtin_pushd(int argc, char const** argv)
|
|||
}
|
||||
}
|
||||
|
||||
auto real_path = LexicalPath::canonicalized_path(path_builder.to_string());
|
||||
auto real_path = LexicalPath::canonicalized_path(path_builder.to_deprecated_string());
|
||||
|
||||
struct stat st;
|
||||
int rc = stat(real_path.characters(), &st);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue