Skip to content

Commit

Permalink
add missing @nogc for Windows-only function
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinNowak committed Jan 3, 2016
1 parent e286199 commit 2456891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/experimental/allocator/mallocator.d
Expand Up @@ -240,7 +240,7 @@ struct AlignedMallocator
free(b.ptr);
return true;
}
else version (Windows) @system
else version (Windows) @system @nogc
bool deallocate(void[] b) shared
{
_aligned_free(b.ptr);
Expand Down

0 comments on commit 2456891

Please sign in to comment.