From 8299680efeeff8142a46fb610ff7bfb0c1772f5b Mon Sep 17 00:00:00 2001 From: Nikolai Kochetov Date: Wed, 15 May 2019 20:37:01 +0300 Subject: [PATCH] Update Port.h --- dbms/src/Processors/Port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dbms/src/Processors/Port.h b/dbms/src/Processors/Port.h index fe29324d94c..f488327cfa2 100644 --- a/dbms/src/Processors/Port.h +++ b/dbms/src/Processors/Port.h @@ -73,9 +73,9 @@ protected: auto cur_data = pullData(); if (std::holds_alternative(cur_data)) - std::rethrow_exception(std::move(std::get(cur_data))); + std::rethrow_exception(std::get(std::move(cur_data))); - return std::move(std::get(cur_data)); + return std::get(std::move(cur_data)); } bool hasData() const