diff options
author | mikhnenko <mikhnenko@yandex-team.com> | 2023-10-11 23:56:12 +0300 |
---|---|---|
committer | mikhnenko <mikhnenko@yandex-team.com> | 2023-10-12 00:27:10 +0300 |
commit | d0303074a6f21b42198f13d86f2d02dd4f7caafa (patch) | |
tree | cb60f989bf2753a3be393bd2b753e3d6435dc25b /library | |
parent | 1c6954f20c83d03c10abb5631ccd6391919163f3 (diff) | |
download | ydb-d0303074a6f21b42198f13d86f2d02dd4f7caafa.tar.gz |
Add missed #include <functional>
В новой версии libcxx functional перестает подключаться вместе с algorithm, map и другими. Добавил явную зависимость.
Diffstat (limited to 'library')
-rw-r--r-- | library/cpp/erasure/lrc_isa.h | 1 | ||||
-rw-r--r-- | library/cpp/protobuf/json/util.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/library/cpp/erasure/lrc_isa.h b/library/cpp/erasure/lrc_isa.h index 800dc3c5ca..0255577ce7 100644 --- a/library/cpp/erasure/lrc_isa.h +++ b/library/cpp/erasure/lrc_isa.h @@ -13,6 +13,7 @@ extern "C" { #include <util/generic/array_ref.h> +#include <functional> #include <optional> #include <vector> diff --git a/library/cpp/protobuf/json/util.cpp b/library/cpp/protobuf/json/util.cpp index 53a065eee2..52702683b7 100644 --- a/library/cpp/protobuf/json/util.cpp +++ b/library/cpp/protobuf/json/util.cpp @@ -2,6 +2,8 @@ #include <util/string/ascii.h> +#include <functional> + namespace { void ToSnakeCaseImpl(TString* const name, std::function<bool(const char)> requiresUnderscore) { bool requiresChanges = false; |