Add @nogc UDA, fix some small issues, xmake changes
-add @nogc to some functions where it was missing -fix compilation issue in mallocator -fix Meson build -some work on xmake build
This commit is contained in:
parent
5e123d96b3
commit
3a3a9e0341
6 changed files with 39 additions and 26 deletions
|
|
@ -279,7 +279,7 @@ static struct Mallocator
|
|||
|
||||
static if (__traits(isPOD, T))
|
||||
{
|
||||
__gshared immutable T init = T.init;
|
||||
__gshared T init = T.init;
|
||||
memcpy(ret, &init, T.sizeof);
|
||||
}
|
||||
else static if (is(T == struct))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue