parent
d75f46280d
commit
92da00329f
|
@ -23,7 +23,7 @@ class array
|
||||||
public:
|
public:
|
||||||
|
|
||||||
array()
|
array()
|
||||||
: data(0), used(0), allocated(0),
|
: data(0), allocated(0), used(0),
|
||||||
free_when_destroyed(true), is_sorted(true)
|
free_when_destroyed(true), is_sorted(true)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
@ -31,7 +31,7 @@ public:
|
||||||
//! Constructs a array and allocates an initial chunk of memory.
|
//! Constructs a array and allocates an initial chunk of memory.
|
||||||
//! \param start_count: Amount of elements to allocate.
|
//! \param start_count: Amount of elements to allocate.
|
||||||
array(u32 start_count)
|
array(u32 start_count)
|
||||||
: data(0), used(0), allocated(0),
|
: data(0), allocated(0), used(0),
|
||||||
free_when_destroyed(true), is_sorted(true)
|
free_when_destroyed(true), is_sorted(true)
|
||||||
{
|
{
|
||||||
reallocate(start_count);
|
reallocate(start_count);
|
||||||
|
|
Loading…
Reference in New Issue