Skip to content

Commit c3eff0e

Browse files
andralexMartinNowak
authored andcommitted
void initializer for in-situ region
1 parent 49fb4ca commit c3eff0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/std/allocator.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2904,8 +2904,8 @@ struct InSituRegion(size_t size, size_t minAlign = platformAlignment)
29042904
// alignment.
29052905
union
29062906
{
2907-
private ubyte[size] _store;
2908-
private double _forAlignmentOnly;
2907+
private ubyte[size] _store = void;
2908+
private double _forAlignmentOnly = void;
29092909
}
29102910
private void* _crt, _end;
29112911

0 commit comments

Comments
 (0)