diff options
| author | chegoryu <[email protected]> | 2022-02-10 16:49:47 +0300 |
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:47 +0300 |
| commit | 767f05356832cfac686778897626e124d257dbc8 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/http/io/headers.h | |
| parent | e4b93027b4c6dbd741ebd637f0b5db1d583ee93f (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/io/headers.h')
| -rw-r--r-- | library/cpp/http/io/headers.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/http/io/headers.h b/library/cpp/http/io/headers.h index 7b164c1cbcd..a71793d1c68 100644 --- a/library/cpp/http/io/headers.h +++ b/library/cpp/http/io/headers.h @@ -94,11 +94,11 @@ public: /// заголовок на новый. void AddOrReplaceHeader(const THttpInputHeader& header); - template <typename ValueType> - void AddOrReplaceHeader(TString name, const ValueType& value) { - AddOrReplaceHeader(THttpInputHeader(std::move(name), ToString(value))); - } - + template <typename ValueType> + void AddOrReplaceHeader(TString name, const ValueType& value) { + AddOrReplaceHeader(THttpInputHeader(std::move(name), ToString(value))); + } + // Проверяет, есть ли такой заголовок bool HasHeader(TStringBuf header) const; |
