diff options
author | Sergey Polovko <sergey@polovko.me> | 2022-02-10 16:47:03 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:03 +0300 |
commit | 2e714b5ebd40a1f4cc31c27f1ad6e49ca6d895f5 (patch) | |
tree | b83306b6e37edeea782e9eed673d89286c4fef35 /library/cpp/http/server/options.h | |
parent | 3e0b762a82514bac89c1dd6ea7211e381d8aa248 (diff) | |
download | ydb-2e714b5ebd40a1f4cc31c27f1ad6e49ca6d895f5.tar.gz |
Restoring authorship annotation for Sergey Polovko <sergey@polovko.me>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/http/server/options.h')
-rw-r--r-- | library/cpp/http/server/options.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/http/server/options.h b/library/cpp/http/server/options.h index f837ef0b08..38eda0e5e7 100644 --- a/library/cpp/http/server/options.h +++ b/library/cpp/http/server/options.h @@ -18,18 +18,18 @@ public: using TBindAddresses = TVector<TNetworkAddress>; void BindAddresses(TBindAddresses& ret) const; - inline THttpServerOptions& AddBindAddress(const TString& address, ui16 port) { + inline THttpServerOptions& AddBindAddress(const TString& address, ui16 port) { const TAddr addr = { address, port, }; BindSockaddr.push_back(addr); - return *this; + return *this; } - inline THttpServerOptions& AddBindAddress(const TString& address) { - return AddBindAddress(address, 0); + inline THttpServerOptions& AddBindAddress(const TString& address) { + return AddBindAddress(address, 0); } inline THttpServerOptions& EnableKeepAlive(bool enable) noexcept { |