mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:47:35 +00:00
LibGUI: Make CommonLocationsProvider::load_from_json() failable
... and additionally port it to Core::Stream. :^)
This commit is contained in:
parent
493658423a
commit
41691a7fcb
2 changed files with 16 additions and 20 deletions
|
@ -20,7 +20,7 @@ public:
|
|||
DeprecatedString path;
|
||||
};
|
||||
|
||||
static void load_from_json(DeprecatedString const& json_path);
|
||||
static ErrorOr<void> load_from_json(StringView json_path);
|
||||
static Vector<CommonLocation> const& common_locations();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue