diff options
author | m-radyshevsky <m-radyshevsky@yandex-team.ru> | 2022-02-10 16:50:59 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:59 +0300 |
commit | ecd8071fcaec0e135778fbd300118b9e1a19ba3b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 | |
parent | 2c01bcb3c6823217287981a9464a74a22bff287e (diff) | |
download | ydb-ecd8071fcaec0e135778fbd300118b9e1a19ba3b.tar.gz |
Restoring authorship annotation for <m-radyshevsky@yandex-team.ru>. Commit 2 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 536f8ba6b1..0044b586b1 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) { |