diff --git a/source/dyaml/queue.d b/source/dyaml/queue.d index 1030cd4..79f5868 100644 --- a/source/dyaml/queue.d +++ b/source/dyaml/queue.d @@ -119,7 +119,7 @@ struct Queue(T) } /// Insert a new item putting it to specified index in the linked list. - void insert(T item, in size_t idx) @trusted nothrow + void insert(T item, const size_t idx) @trusted nothrow in { assert(idx <= length_);