From b19f46a7d1b7e4d0ba4c97f9b0d09e7b6adc0c70 Mon Sep 17 00:00:00 2001 From: Jack Stouffer Date: Wed, 5 Apr 2017 10:55:22 -0400 Subject: [PATCH] Fix style problems in std.experimental.allocator.gc_allocator --- std/experimental/allocator/gc_allocator.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/experimental/allocator/gc_allocator.d b/std/experimental/allocator/gc_allocator.d index f3673e5549f..41894568f03 100644 --- a/std/experimental/allocator/gc_allocator.d +++ b/std/experimental/allocator/gc_allocator.d @@ -73,7 +73,7 @@ struct GCAllocator pure nothrow Ternary resolveInternalPointer(const void* p, ref void[] result) shared { - auto r = GC.addrOf(cast(void*)p); + auto r = GC.addrOf(cast(void*) p); if (!r) return Ternary.no; result = r[0 .. GC.sizeOf(r)]; return Ternary.yes;