mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:17:36 +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
|
@ -40,8 +40,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
outln("DocTypeVersion is {}", reader.header().doc_type_version);
|
||||
auto segment_information = TRY_PARSE(reader.segment_information());
|
||||
outln("Timestamp scale is {}", segment_information.timestamp_scale());
|
||||
outln("Muxing app is \"{}\"", segment_information.muxing_app().as_string().to_string().characters());
|
||||
outln("Writing app is \"{}\"", segment_information.writing_app().as_string().to_string().characters());
|
||||
outln("Muxing app is \"{}\"", segment_information.muxing_app().as_string().to_deprecated_string().characters());
|
||||
outln("Writing app is \"{}\"", segment_information.writing_app().as_string().to_deprecated_string().characters());
|
||||
|
||||
outln("Document has {} tracks", TRY_PARSE(reader.track_count()));
|
||||
TRY_PARSE(reader.for_each_track([&](Video::Matroska::TrackEntry const& track_entry) -> Video::DecoderErrorOr<IterationDecision> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue