jes.core.gapbuffer: use D-style dynamic array syntax
This commit is contained in:
parent
0678bd79f4
commit
5741266dfb
@ -20,7 +20,7 @@ class GapBuffer
|
||||
private size_t m_size;
|
||||
|
||||
/** Data. */
|
||||
private ubyte m_data[];
|
||||
private ubyte[] m_data;
|
||||
|
||||
/** Gap position. */
|
||||
private size_t m_gap_position;
|
||||
@ -40,7 +40,7 @@ class GapBuffer
|
||||
*
|
||||
* @param data Initial data to use to populate the gap buffer.
|
||||
*/
|
||||
this(ubyte data[])
|
||||
this(ubyte[] data)
|
||||
{
|
||||
m_data = data;
|
||||
m_size = data.length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user