mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +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: https://github.com/LadybirdBrowser/ladybird/commit/c0600c43536 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 };
|
||||
}
|
||||
|
||||
ValueType release_allocated_value_but_fixme_should_propagate_errors()
|
||||
{
|
||||
VERIFY(!is_error());
|
||||
return release_value();
|
||||
}
|
||||
|
||||
private:
|
||||
Variant<ValueType, ErrorValue> m_value_or_error;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue