From 2b8ce83c9b5963706d2729334add71251fa32b79 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 21:17:01 +0100 Subject: Queue: move queue_shuffle_order_range() into the class --- src/Queue.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Queue.hxx') diff --git a/src/Queue.hxx b/src/Queue.hxx index f52dd3335..0652c711f 100644 --- a/src/Queue.hxx +++ b/src/Queue.hxx @@ -298,6 +298,12 @@ struct queue { order[i] = i; } + /** + * Shuffle the order of items in the specified range, ignoring + * their priorities. + */ + void ShuffleOrderRange(unsigned start, unsigned end); + /** * Shuffle the order of items in the specified range, taking their * priorities into account. -- cgit v1.2.3