mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibAudio: Replace Result with ErrorOr
Since they are API compatible, this change is very simple.
This commit is contained in:
parent
b38beb106e
commit
3c65c22728
1 changed files with 2 additions and 2 deletions
|
@ -24,8 +24,8 @@ namespace Audio {
|
|||
|
||||
static constexpr StringView no_plugin_error = "No loader plugin available"sv;
|
||||
|
||||
using LoaderSamples = Result<FixedArray<Sample>, LoaderError>;
|
||||
using MaybeLoaderError = Result<void, LoaderError>;
|
||||
using LoaderSamples = ErrorOr<FixedArray<Sample>, LoaderError>;
|
||||
using MaybeLoaderError = ErrorOr<void, LoaderError>;
|
||||
|
||||
class LoaderPlugin {
|
||||
public:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue