Cleaned up import

This commit is contained in:
Tristan B. Velloza Kildaire 2021-09-08 14:07:56 +02:00
parent a3ca66db2b
commit 6a00c620ec
1 changed files with 1 additions and 3 deletions

View File

@ -16,6 +16,7 @@ import core.sync.mutex : Mutex;
import bmessage : bSendMessage = sendMessage;
import core.thread : Thread;
import std.container.dlist;
import std.range : walkLength;
public enum QueuePolicy : ubyte
{
@ -75,9 +76,6 @@ public final class Queue
*/
if(flags & QueuePolicy.LENGTH_CAP)
{
import std.range;
if(walkLength(queue[]) == lengthCap)
{
goto unlock;