LibJS: Remove now unused IndexedPropertyIterator::value_and_attributes()
This commit is contained in:
parent
9555ca99a0
commit
9fe363eaad
Notes:
sideshowbarker
2024-07-18 10:25:35 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/9fe363eaad3 Pull-request: https://github.com/SerenityOS/serenity/pull/8442 Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 0 additions and 8 deletions
|
@ -197,13 +197,6 @@ bool IndexedPropertyIterator::operator!=(const IndexedPropertyIterator& other) c
|
|||
return m_index != other.m_index;
|
||||
}
|
||||
|
||||
ValueAndAttributes IndexedPropertyIterator::value_and_attributes()
|
||||
{
|
||||
if (m_index < m_indexed_properties.array_like_size())
|
||||
return m_indexed_properties.get(m_index).value_or({});
|
||||
return {};
|
||||
}
|
||||
|
||||
void IndexedPropertyIterator::skip_empty_indices()
|
||||
{
|
||||
auto indices = m_indexed_properties.indices();
|
||||
|
|
|
@ -101,7 +101,6 @@ public:
|
|||
bool operator!=(const IndexedPropertyIterator&) const;
|
||||
|
||||
u32 index() const { return m_index; };
|
||||
ValueAndAttributes value_and_attributes();
|
||||
|
||||
private:
|
||||
void skip_empty_indices();
|
||||
|
|
Loading…
Add table
Reference in a new issue