Fix deprecation warning.
This commit is contained in:
parent
3de7cb0042
commit
6041347405
|
@ -769,7 +769,7 @@ private mixin template isolatedArrayMethods(T, bool mutableRef = true)
|
||||||
@property void length(size_t value) pure { m_array.length = value; }
|
@property void length(size_t value) pure { m_array.length = value; }
|
||||||
|
|
||||||
|
|
||||||
void opCatAssign(T item) pure
|
void opOpAssign(string op = "~")(T item) pure
|
||||||
{
|
{
|
||||||
static if( isCopyable!T ) m_array ~= item;
|
static if( isCopyable!T ) m_array ~= item;
|
||||||
else {
|
else {
|
||||||
|
@ -778,7 +778,7 @@ private mixin template isolatedArrayMethods(T, bool mutableRef = true)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void opCatAssign(IsolatedArray!T array) pure
|
void opOpAssign(string op = "~")(IsolatedArray!T array) pure
|
||||||
{
|
{
|
||||||
static if( isCopyable!T ) m_array ~= array.m_array;
|
static if( isCopyable!T ) m_array ~= array.m_array;
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue