mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:38:12 +00:00
AK: Port URL::m_fragment from DeprecatedString to String
This commit is contained in:
parent
5663a2d3b4
commit
9d60f23abc
21 changed files with 68 additions and 76 deletions
|
@ -93,7 +93,7 @@ HelpWindow::HelpWindow(GUI::Window* parent)
|
|||
return;
|
||||
}
|
||||
auto& doc = doc_option.value();
|
||||
auto name = url.fragment();
|
||||
auto name = url.fragment().value_or(String {});
|
||||
|
||||
auto maybe_example_data = doc.get_object("example_data"sv);
|
||||
if (!maybe_example_data.has_value()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue