From 245689147144cb7e15b8bc6e06c0bdd2bca38e4d Mon Sep 17 00:00:00 2001 From: Martin Nowak Date: Sun, 3 Jan 2016 15:37:56 +0100 Subject: [PATCH] add missing @nogc for Windows-only function --- std/experimental/allocator/mallocator.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/experimental/allocator/mallocator.d b/std/experimental/allocator/mallocator.d index 18a1d785f22..f50d8c1b0e1 100644 --- a/std/experimental/allocator/mallocator.d +++ b/std/experimental/allocator/mallocator.d @@ -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);