From 6cabd81e22c16b99ad3d5d1affd1bb4f155ccd12 Mon Sep 17 00:00:00 2001 From: Yuya Asano <64895419+sukeya@users.noreply.github.com> Date: Sun, 15 Feb 2026 14:14:59 +0900 Subject: [PATCH] Fix a bug. --- include/platanus/internal/btree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/platanus/internal/btree.hpp b/include/platanus/internal/btree.hpp index 83bbaff..3f59bec 100644 --- a/include/platanus/internal/btree.hpp +++ b/include/platanus/internal/btree.hpp @@ -119,7 +119,7 @@ class btree { explicit btree(self_type&& x, const allocator_type& alloc) : btree(std::move(x.comp_), alloc) { for (auto&& v : x) { - insert_multi(end(), std::move(x)); + insert_multi(end(), std::move(v)); } }