aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikhnenko <mikhnenko@yandex-team.com>2023-10-13 12:49:49 +0300
committermikhnenko <mikhnenko@yandex-team.com>2023-10-13 13:29:22 +0300
commitd8f0ea2538f0f50147d3d4c5fcbe0297b504ab12 (patch)
tree673a487cf182785771ba78664ba32792bdcb6328
parentecebb418cadc3c4481096b9faaa7d7775a96c572 (diff)
downloadydb-d8f0ea2538f0f50147d3d4c5fcbe0297b504ab12.tar.gz
Add missed #include <functional>
В новой версии libcxx functional перестает подключаться вместе с algorithm, map и другими. Добавил явную зависимость.
-rw-r--r--ydb/library/yql/parser/pg_wrapper/interface/optimizer.h2
-rw-r--r--ydb/library/yql/udfs/common/clickhouse/client/src/IO/ReadBufferFromPocoSocket.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/ydb/library/yql/parser/pg_wrapper/interface/optimizer.h b/ydb/library/yql/parser/pg_wrapper/interface/optimizer.h
index f73376652e..492df9f13e 100644
--- a/ydb/library/yql/parser/pg_wrapper/interface/optimizer.h
+++ b/ydb/library/yql/parser/pg_wrapper/interface/optimizer.h
@@ -2,6 +2,8 @@
#include <ydb/library/yql/core/cbo/cbo_optimizer.h>
+#include <functional>
+
namespace NYql {
IOptimizer* MakePgOptimizer(const IOptimizer::TInput& input, const std::function<void(const TString&)>& log = {});
diff --git a/ydb/library/yql/udfs/common/clickhouse/client/src/IO/ReadBufferFromPocoSocket.h b/ydb/library/yql/udfs/common/clickhouse/client/src/IO/ReadBufferFromPocoSocket.h
index d9e8416ad1..e63683fce5 100644
--- a/ydb/library/yql/udfs/common/clickhouse/client/src/IO/ReadBufferFromPocoSocket.h
+++ b/ydb/library/yql/udfs/common/clickhouse/client/src/IO/ReadBufferFromPocoSocket.h
@@ -5,6 +5,8 @@
#include <Poco/Net/Socket.h>
+#include <functional>
+
namespace NDB
{