From 0820dc0c8434432d7b1f7740f5561db7c62db9e6 Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Sat, 21 Dec 2019 02:59:08 +0300 Subject: [PATCH] Optimization of sorting heap --- dbms/src/Core/SortCursor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Core/SortCursor.h b/dbms/src/Core/SortCursor.h index 2e6b3dbce4e..3753984f4ae 100644 --- a/dbms/src/Core/SortCursor.h +++ b/dbms/src/Core/SortCursor.h @@ -217,7 +217,7 @@ public: SortingHeap() = default; template - SortingHeap(const Cursors & cursors) + SortingHeap(Cursors & cursors) { size_t size = cursors.size(); queue.reserve(size);