mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibJS: Remove unused ThrowCompletionOr<T>::release... helper
This commit is contained in:
parent
6d8bc2b1d6
commit
c0600c4353
Notes:
github-actions[bot]
2025-04-05 09:21:54 +00:00
Author: https://github.com/awesomekling
Commit: c0600c4353
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4232
1 changed files with 0 additions and 6 deletions
|
@ -301,12 +301,6 @@ public:
|
||||||
return Completion { Completion::Type::Throw, error.error };
|
return Completion { Completion::Type::Throw, error.error };
|
||||||
}
|
}
|
||||||
|
|
||||||
ValueType release_allocated_value_but_fixme_should_propagate_errors()
|
|
||||||
{
|
|
||||||
VERIFY(!is_error());
|
|
||||||
return release_value();
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Variant<ValueType, ErrorValue> m_value_or_error;
|
Variant<ValueType, ErrorValue> m_value_or_error;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue