fix
This commit is contained in:
parent
fe9cc4c948
commit
f49d47fcac
@ -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[];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user