LibJS: Remove now unused IndexedPropertyIterator::value_and_attributes()

This commit is contained in:
Linus Groh 2021-07-04 22:57:02 +01:00 committed by Andreas Kling
parent 9555ca99a0
commit 9fe363eaad
Notes: sideshowbarker 2024-07-18 10:25:35 +09:00
2 changed files with 0 additions and 8 deletions

View File

@ -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();

View File

@ -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();