Remove shared from the allocators

This commit is contained in:
2016-11-30 21:20:18 +01:00
parent 965ca0088e
commit 192ee20bf7
12 changed files with 150 additions and 264 deletions

View File

@ -27,7 +27,7 @@ class Queue(T)
* allocator = The allocator should be used for the element
* allocations.
*/
this(shared Allocator allocator = defaultAllocator)
this(IAllocator allocator = defaultAllocator)
{
this.allocator = allocator;
}
@ -206,7 +206,7 @@ class Queue(T)
/// The last element of the list.
protected Entry* rear;
private shared Allocator allocator;
private IAllocator allocator;
}
///