mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Update Port.h
This commit is contained in:
parent
76934cf801
commit
8299680efe
@ -73,9 +73,9 @@ protected:
|
|||||||
auto cur_data = pullData();
|
auto cur_data = pullData();
|
||||||
|
|
||||||
if (std::holds_alternative<std::exception_ptr>(cur_data))
|
if (std::holds_alternative<std::exception_ptr>(cur_data))
|
||||||
std::rethrow_exception(std::move(std::get<std::exception_ptr>(cur_data)));
|
std::rethrow_exception(std::get<std::exception_ptr>(std::move(cur_data)));
|
||||||
|
|
||||||
return std::move(std::get<Chunk>(cur_data));
|
return std::get<Chunk>(std::move(cur_data));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool hasData() const
|
bool hasData() const
|
||||||
|
Loading…
Reference in New Issue
Block a user