mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-25 10:48:53 +00:00
AK+LibCore: Remove SerenityOS handling from Error and Core::System
This is just to make some syscall error handling changes simpler.
This commit is contained in:
parent
4f132b9e40
commit
24ac5e2eee
Notes:
github-actions[bot]
2025-05-11 01:21:13 +00:00
Author: https://github.com/trflynn89
Commit: 24ac5e2eee
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4689
2 changed files with 13 additions and 184 deletions
|
@ -166,13 +166,6 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
#ifdef AK_OS_SERENITY
|
||||
ErrorOr(ErrnoCode code)
|
||||
: m_value_or_error(Error::from_errno(code))
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
T& value()
|
||||
{
|
||||
return m_value_or_error.template get<T>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue