From 20de7e10037652b74abae08b7848a5818ac703ac Mon Sep 17 00:00:00 2001 From: Alexey Milovidov Date: Fri, 26 Sep 2014 20:11:30 +0400 Subject: [PATCH] dbms: tiny modification (more compatible) [#METR-12784]. --- dbms/src/Storages/MergeTree/MergeTreeData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Storages/MergeTree/MergeTreeData.cpp b/dbms/src/Storages/MergeTree/MergeTreeData.cpp index 822ffb3c199..76b9a780136 100644 --- a/dbms/src/Storages/MergeTree/MergeTreeData.cpp +++ b/dbms/src/Storages/MergeTree/MergeTreeData.cpp @@ -843,7 +843,7 @@ MergeTreeData::DataPartsVector MergeTreeData::getDataPartsVector() { Poco::ScopedLock lock(data_parts_mutex); - return {std::begin(data_parts), std::end(data_parts)}; + return DataPartsVector(std::begin(data_parts), std::end(data_parts)); } MergeTreeData::DataParts MergeTreeData::getAllDataParts()