From 604134740506324f9a0b24db7e214306cda50e7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Sat, 14 Mar 2020 18:37:18 +0100 Subject: [PATCH] Fix deprecation warning. --- source/vibe/core/concurrency.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/vibe/core/concurrency.d b/source/vibe/core/concurrency.d index 70be177..f6402c5 100644 --- a/source/vibe/core/concurrency.d +++ b/source/vibe/core/concurrency.d @@ -769,7 +769,7 @@ private mixin template isolatedArrayMethods(T, bool mutableRef = true) @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; 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; else {