mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 13:27:36 +00:00
Profiler: Replace Result<T, E> use with ErrorOr<T>
This commit is contained in:
parent
e841f3c283
commit
fbe8f185b5
3 changed files with 10 additions and 12 deletions
|
@ -20,7 +20,6 @@
|
|||
#include <AK/MappedFile.h>
|
||||
#include <AK/NonnullRefPtrVector.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Result.h>
|
||||
#include <AK/Variant.h>
|
||||
#include <LibELF/Image.h>
|
||||
#include <LibGUI/Forward.h>
|
||||
|
@ -142,7 +141,7 @@ struct ProcessFilter {
|
|||
|
||||
class Profile {
|
||||
public:
|
||||
static Result<NonnullOwnPtr<Profile>, String> load_from_perfcore_file(const StringView& path);
|
||||
static ErrorOr<NonnullOwnPtr<Profile>> load_from_perfcore_file(const StringView& path);
|
||||
|
||||
GUI::Model& model();
|
||||
GUI::Model& samples_model();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue