Core/ByteArray: Add missing implementation of Front()

Former-commit-id: 672b7bc1054d1a457245dcc15d4c5fafab9fc166
This commit is contained in:
Lynix 2015-09-18 14:10:24 +02:00
parent 466720abec
commit b56a454a40
1 changed files with 10 additions and 0 deletions

View File

@ -65,6 +65,16 @@ inline NzByteArray::iterator NzByteArray::Erase(const_iterator first, const_iter
return m_array.erase(first, last);
}
inline NzByteArray::reference NzByteArray::Front()
{
return m_array.front();
}
inline NzByteArray::const_reference NzByteArray::Front() const
{
return m_array.front();
}
inline NzByteArray::allocator_type NzByteArray::GetAllocator() const
{
return m_array.get_allocator();