From 0eed0fe8b7dbd05e5a90ce70004d3eefb15b8b3d Mon Sep 17 00:00:00 2001 From: Sebastian Wilzbach Date: Tue, 21 Nov 2017 15:44:26 +0100 Subject: [PATCH] Use the stable stdx-allocator DUB package --- dub.sdl | 1 + source/vibe/internal/allocator.d | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/dub.sdl b/dub.sdl index 0f1a8d4..b7593a1 100644 --- a/dub.sdl +++ b/dub.sdl @@ -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" diff --git a/source/vibe/internal/allocator.d b/source/vibe/internal/allocator.d index 84027c2..fa2cd1c 100644 --- a/source/vibe/internal/allocator.d +++ b/source/vibe/internal/allocator.d @@ -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()