summaryrefslogtreecommitdiff
path: root/AK/FixedArray.h
diff options
context:
space:
mode:
Diffstat (limited to 'AK/FixedArray.h')
-rw-r--r--AK/FixedArray.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/AK/FixedArray.h b/AK/FixedArray.h
index 310b2ff739..e793de8a38 100644
--- a/AK/FixedArray.h
+++ b/AK/FixedArray.h
@@ -114,17 +114,17 @@ public:
::swap(m_elements, other.m_elements);
}
- using ConstIterator = SimpleIterator<FixedArray const, T const>;
using Iterator = SimpleIterator<FixedArray, T>;
+ using ConstIterator = SimpleIterator<FixedArray const, T const>;
- ConstIterator begin() const { return ConstIterator::begin(*this); }
Iterator begin() { return Iterator::begin(*this); }
+ ConstIterator begin() const { return ConstIterator::begin(*this); }
- ConstIterator end() const { return ConstIterator::end(*this); }
Iterator end() { return Iterator::end(*this); }
+ ConstIterator end() const { return ConstIterator::end(*this); }
- Span<T const> span() const { return { data(), size() }; }
Span<T> span() { return { data(), size() }; }
+ Span<T const> span() const { return { data(), size() }; }
private:
FixedArray(size_t size, T* elements)