Merge pull request #43 from wilzbach/stdx-allocator

Use the stable stdx-allocator DUB package
This commit is contained in:
Sönke Ludwig 2017-12-04 21:21:50 +01:00 committed by GitHub
commit c9aaf0cb29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -5,6 +5,7 @@ copyright "Copyright © 2016, rejectedsoftware e.K."
license "MIT" license "MIT"
dependency "eventcore" version="~>0.8.18" dependency "eventcore" version="~>0.8.18"
dependency "stdx-allocator" version="~>2.77.0"
targetName "vibe_core" targetName "vibe_core"

View file

@ -1,12 +1,12 @@
module vibe.internal.allocator; module vibe.internal.allocator;
public import std.experimental.allocator; public import stdx.allocator;
public import std.experimental.allocator.building_blocks.allocator_list; public import stdx.allocator.building_blocks.allocator_list;
public import std.experimental.allocator.building_blocks.null_allocator; public import stdx.allocator.building_blocks.null_allocator;
public import std.experimental.allocator.building_blocks.region; public import stdx.allocator.building_blocks.region;
public import std.experimental.allocator.building_blocks.stats_collector; public import stdx.allocator.building_blocks.stats_collector;
public import std.experimental.allocator.gc_allocator; public import stdx.allocator.gc_allocator;
public import std.experimental.allocator.mallocator; public import stdx.allocator.mallocator;
// NOTE: this needs to be used instead of theAllocator due to Phobos issue 17564 // NOTE: this needs to be used instead of theAllocator due to Phobos issue 17564
@property IAllocator vibeThreadAllocator() @property IAllocator vibeThreadAllocator()