mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:27:45 +00:00
LibJS: Remove now unused IndexedPropertyIterator::value_and_attributes()
This commit is contained in:
parent
9555ca99a0
commit
9fe363eaad
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;
|
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()
|
void IndexedPropertyIterator::skip_empty_indices()
|
||||||
{
|
{
|
||||||
auto indices = m_indexed_properties.indices();
|
auto indices = m_indexed_properties.indices();
|
||||||
|
|
|
@ -101,7 +101,6 @@ public:
|
||||||
bool operator!=(const IndexedPropertyIterator&) const;
|
bool operator!=(const IndexedPropertyIterator&) const;
|
||||||
|
|
||||||
u32 index() const { return m_index; };
|
u32 index() const { return m_index; };
|
||||||
ValueAndAttributes value_and_attributes();
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void skip_empty_indices();
|
void skip_empty_indices();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue