From af544bb16f6cecf3a082d720dee82b4f1a1ab5ab Mon Sep 17 00:00:00 2001
From: Max Kellermann <max.kellermann@gmail.com>
Date: Fri, 11 Nov 2022 10:11:41 +0100
Subject: [PATCH] util/IntrusiveList: fix typos

---
 src/util/IntrusiveList.hxx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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);
 	}
 };