From f49d47fcac278d446b0441b78bc4a74eccbbbd8d Mon Sep 17 00:00:00 2001 From: Matthew Date: Sat, 27 Jun 2026 14:21:14 +1000 Subject: [PATCH] fix --- dlib/alloc.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlib/alloc.d b/dlib/alloc.d index 5e91045..38af745 100644 --- a/dlib/alloc.d +++ b/dlib/alloc.d @@ -143,7 +143,7 @@ Alloc(string target) } string -AllocTerminated(char[] target) +AllocTerminated(T)(T target) if(StringType!T) { u8[] str = Alloc!(u8)(target.length+1); str[0 .. target.length] = str[];