Fix deprecation warning.

This commit is contained in:
Sönke Ludwig 2020-03-14 18:37:18 +01:00
parent 3de7cb0042
commit 6041347405

View file

@ -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 {