From 96fdc2a39023585de99db69a801fd84993958e9e Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Wed, 21 Nov 2018 07:04:24 +0300 Subject: [PATCH] Update Cluster.h --- dbms/src/Interpreters/Cluster.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbms/src/Interpreters/Cluster.h b/dbms/src/Interpreters/Cluster.h index befd97666e9..e6e462adbc5 100644 --- a/dbms/src/Interpreters/Cluster.h +++ b/dbms/src/Interpreters/Cluster.h @@ -144,7 +144,7 @@ public: std::unique_ptr getClusterWithSingleShard(size_t index) const; /// Get a subcluster consisting of one or multiple shards - indexes by count (from 0) of the shard of this cluster. - std::unique_ptr getClusterWithMultipleShards(std::vector indexes) const; + std::unique_ptr getClusterWithMultipleShards(const std::vector & indices) const; private: using SlotToShard = std::vector;