From f32c9963489f811ebfea8e17e7e3bbc79a355324 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Tue, 27 May 2014 18:51:09 +0200 Subject: [PATCH] fixed subtle clip id generation bug refs #206 --- src/util/clip_ids.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/clip_ids.cpp b/src/util/clip_ids.cpp index 457d6ddb3..8f2c33ff2 100644 --- a/src/util/clip_ids.cpp +++ b/src/util/clip_ids.cpp @@ -57,7 +57,7 @@ std::list partition(std::forward_list &&array) { } // Concatenate the remainder. - if (!array.empty()) { + if (!remainder.empty()) { result.splice(result.begin(), partition(std::move(remainder))); }