1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:37:45 +00:00

LibWasm: Remove uses of AK::Result

Closes #23500.
This commit is contained in:
Ali Mohammad Pur 2024-03-11 22:57:59 +01:00 committed by Ali Mohammad Pur
parent 8003bde03d
commit 5a40ce442b
6 changed files with 14 additions and 14 deletions

View file

@ -604,7 +604,7 @@ private:
Vector<EntryType, 1024> m_data;
};
using InstantiationResult = AK::Result<NonnullOwnPtr<ModuleInstance>, InstantiationError>;
using InstantiationResult = AK::ErrorOr<NonnullOwnPtr<ModuleInstance>, InstantiationError>;
class AbstractMachine {
public:
@ -655,7 +655,7 @@ public:
return m_unresolved_imports;
}
AK::Result<Vector<ExternValue>, LinkError> finish();
AK::ErrorOr<Vector<ExternValue>, LinkError> finish();
private:
void populate();