Skip to content

Commit

Permalink
Use the stable stdx-allocator DUB package
Browse files Browse the repository at this point in the history
  • Loading branch information
wilzbach committed Dec 3, 2017
1 parent 3c04663 commit 0eed0fe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ copyright "Copyright © 2016, rejectedsoftware e.K."
license "MIT"

dependency "eventcore" version="~>0.8.18"
dependency "stdx-allocator" version="~>2.77.0"

targetName "vibe_core"

Expand Down
14 changes: 7 additions & 7 deletions source/vibe/internal/allocator.d
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
module vibe.internal.allocator;

public import std.experimental.allocator;
public import std.experimental.allocator.building_blocks.allocator_list;
public import std.experimental.allocator.building_blocks.null_allocator;
public import std.experimental.allocator.building_blocks.region;
public import std.experimental.allocator.building_blocks.stats_collector;
public import std.experimental.allocator.gc_allocator;
public import std.experimental.allocator.mallocator;
public import stdx.allocator;
public import stdx.allocator.building_blocks.allocator_list;
public import stdx.allocator.building_blocks.null_allocator;
public import stdx.allocator.building_blocks.region;
public import stdx.allocator.building_blocks.stats_collector;
public import stdx.allocator.gc_allocator;
public import stdx.allocator.mallocator;

// NOTE: this needs to be used instead of theAllocator due to Phobos issue 17564
@property IAllocator vibeThreadAllocator()
Expand Down

0 comments on commit 0eed0fe

Please sign in to comment.