diff --git a/src/util/IntrusiveList.hxx b/src/util/IntrusiveList.hxx index 3f969d4fe..d5f267010 100644 --- a/src/util/IntrusiveList.hxx +++ b/src/util/IntrusiveList.hxx @@ -559,7 +559,7 @@ public: * given position. */ void splice(iterator position, IntrusiveList &from) noexcept { - spice(position, from, from.begin(), from.end(), - constant_time_size ? size() : 1); + splice(position, from, from.begin(), from.end(), + from.constant_time_size ? from.size() : 1); } };