Core/ByteArray: Make constructor taking a size set the size instead of capacity
This commit is contained in:
@@ -15,7 +15,7 @@ namespace Nz
|
||||
inline ByteArray::ByteArray(size_type n) :
|
||||
m_array()
|
||||
{
|
||||
m_array.reserve(n);
|
||||
m_array.resize(n);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user