mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 07:09:47 +00:00
LibJS: Remove unused ThrowCompletionOr<T>::release... helper
This commit is contained in:
parent
70bce30561
commit
7fafaabf56
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