diff options
author | m-radyshevsky <m-radyshevsky@yandex-team.ru> | 2022-02-10 16:50:58 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:58 +0300 |
commit | 2c01bcb3c6823217287981a9464a74a22bff287e (patch) | |
tree | 27cb6a7b27a4c9baf95aa1a42cafcb4d6cee3720 | |
parent | 71c1b96ecfda5b145e9b561bb108e4f7b1490d0e (diff) | |
download | ydb-2c01bcb3c6823217287981a9464a74a22bff287e.tar.gz |
Restoring authorship annotation for <m-radyshevsky@yandex-team.ru>. Commit 1 of 2.
-rw-r--r-- | library/cpp/monlib/service/format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/cpp/monlib/service/format.h b/library/cpp/monlib/service/format.h index 0044b586b1..536f8ba6b1 100644 --- a/library/cpp/monlib/service/format.h +++ b/library/cpp/monlib/service/format.h @@ -19,7 +19,7 @@ namespace NMonitoring { constexpr auto isPlainPair = NPrivate::THasSecond<std::decay_t<decltype(*headers.begin())>>::value; auto it = FindIf(std::begin(headers), std::end(headers), - [=] (const auto& h) { + [=] (const auto& h) { if constexpr (NPrivate::THasName<std::decay_t<decltype(h)>>::value) { return AsciiCompareIgnoreCase(h.Name(), TStringBuf("accept-encoding")) == 0; } else if (isPlainPair) { @@ -64,7 +64,7 @@ namespace NMonitoring { constexpr auto isPlainPair = NPrivate::THasSecond<std::decay_t<decltype(*headers.begin())>>::value; auto it = FindIf(std::begin(headers), std::end(headers), - [=] (const auto& h) { + [=] (const auto& h) { if constexpr (NPrivate::THasName<std::decay_t<decltype(h)>>::value) { return AsciiCompareIgnoreCase(h.Name(), TStringBuf("accept")) == 0; } else if (isPlainPair) { |