diff options
author | Linus Groh <mail@linusgroh.de> | 2021-07-04 22:57:02 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-07-05 00:03:25 +0200 |
commit | 9fe363eaad37915b0071fab369abe527efee4535 (patch) | |
tree | 6aa31960e06d35778f7037ff9869126744bf429d /Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp | |
parent | 9555ca99a032c764e659452b09d664bd4f68fd10 (diff) | |
download | serenity-9fe363eaad37915b0071fab369abe527efee4535.zip |
LibJS: Remove now unused IndexedPropertyIterator::value_and_attributes()
Diffstat (limited to 'Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp')
-rw-r--r-- | Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp b/Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp index 56ca07ec40..135ecb14ba 100644 --- a/Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp +++ b/Userland/Libraries/LibJS/Runtime/IndexedProperties.cpp @@ -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(); |