diff options
| author | anelyubin <[email protected]> | 2022-02-10 16:49:40 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:40 +0300 | 
| commit | 9dac44a55ede6f682527e82880847f99bd7b2d93 (patch) | |
| tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
| parent | 8d333d5e773f6b0ef31e7b3c92339af7e71413f6 (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
| -rw-r--r-- | library/cpp/containers/comptrie/comptrie_trie.h | 2 | ||||
| -rw-r--r-- | library/cpp/getopt/small/last_getopt_handlers.h | 4 | ||||
| -rw-r--r-- | library/cpp/http/server/http.cpp | 34 | ||||
| -rw-r--r-- | library/cpp/http/server/http.h | 2 | ||||
| -rw-r--r-- | library/cpp/monlib/encode/encoder_state.h | 2 | ||||
| -rw-r--r-- | library/cpp/openssl/ya.make | 4 | ||||
| -rw-r--r-- | library/cpp/protobuf/util/simple_reflection.h | 2 | 
7 files changed, 25 insertions, 25 deletions
| diff --git a/library/cpp/containers/comptrie/comptrie_trie.h b/library/cpp/containers/comptrie/comptrie_trie.h index e4ce94a6e98..40ec1e52b32 100644 --- a/library/cpp/containers/comptrie/comptrie_trie.h +++ b/library/cpp/containers/comptrie/comptrie_trie.h @@ -233,7 +233,7 @@ template <class T, class D, class S>  TCompactTrie<T, D, S>::TCompactTrie(const char* d, size_t len, TPacker packer)      : Packer(packer)  { -    Init(d, len, packer);  +    Init(d, len, packer);  }  template <class T, class D, class S> diff --git a/library/cpp/getopt/small/last_getopt_handlers.h b/library/cpp/getopt/small/last_getopt_handlers.h index 1728aef015f..d35456ef347 100644 --- a/library/cpp/getopt/small/last_getopt_handlers.h +++ b/library/cpp/getopt/small/last_getopt_handlers.h @@ -18,7 +18,7 @@ namespace NLastGetopt {      template <class TpFunc>      struct TOptKVHandler; -    [[noreturn]] void PrintUsageAndExit(const TOptsParser* parser);  -    [[noreturn]] void PrintVersionAndExit(const TOptsParser* parser);  +    [[noreturn]] void PrintUsageAndExit(const TOptsParser* parser); +    [[noreturn]] void PrintVersionAndExit(const TOptsParser* parser);      [[noreturn]] void PrintShortVersionAndExit(const TString& appName);  } diff --git a/library/cpp/http/server/http.cpp b/library/cpp/http/server/http.cpp index 05da4d9f974..128583bdd70 100644 --- a/library/cpp/http/server/http.cpp +++ b/library/cpp/http/server/http.cpp @@ -397,15 +397,15 @@ public:          Requests->Start(Options_.nThreads, Options_.MaxQueueSize);      } -    TImpl(THttpServer* parent, ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options_)  +    TImpl(THttpServer* parent, ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options_)          : Requests(mainWorkers) -        , FailRequests(failWorkers)  -        , Options_(options_)  -        , Cb_(cb)  -        , Parent_(parent)  -    {  -    }  -  +        , FailRequests(failWorkers) +        , Options_(options_) +        , Cb_(cb) +        , Parent_(parent) +    { +    } +      TImpl(THttpServer* parent, ICallBack* cb, const TOptions& options, IThreadFactory* factory)          : TImpl(                parent, @@ -413,8 +413,8 @@ public:                MakeThreadPool<TSimpleThreadPool>(factory, options.UseElasticQueues, cb, options.RequestsThreadName),                MakeThreadPool<TThreadPool>(factory, options.UseElasticQueues, nullptr, options.FailRequestsThreadName),                options) { -    }  -  +    } +      ~TImpl() {          try {              Stop(); @@ -446,8 +446,8 @@ public:      TPipeHandle ListenWakeupReadFd;      TPipeHandle ListenWakeupWriteFd;      TSystemEvent ListenStartEvent; -    TMtpQueueRef Requests;  -    TMtpQueueRef FailRequests;  +    TMtpQueueRef Requests; +    TMtpQueueRef FailRequests;      TAtomic ConnectionCount = 0;      THolder<TSocketPoller> Poller;      THolder<TConnections> Connections; @@ -487,11 +487,11 @@ THttpServer::THttpServer(ICallBack* cb, const TOptions& options, IThreadFactory*  {  } -THttpServer::THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options)  -    : Impl_(new TImpl(this, cb, mainWorkers, failWorkers, options))  -{  -}  -  +THttpServer::THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options) +    : Impl_(new TImpl(this, cb, mainWorkers, failWorkers, options)) +{ +} +  THttpServer::~THttpServer() {  } diff --git a/library/cpp/http/server/http.h b/library/cpp/http/server/http.h index 274f9c2d026..b292d38f270 100644 --- a/library/cpp/http/server/http.h +++ b/library/cpp/http/server/http.h @@ -65,7 +65,7 @@ public:      typedef TSimpleSharedPtr<IThreadPool> TMtpQueueRef;      THttpServer(ICallBack* cb, const TOptions& options = TOptions(), IThreadFactory* pool = nullptr); -    THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options = TOptions());  +    THttpServer(ICallBack* cb, TMtpQueueRef mainWorkers, TMtpQueueRef failWorkers, const TOptions& options = TOptions());      virtual ~THttpServer();      bool Start(); diff --git a/library/cpp/monlib/encode/encoder_state.h b/library/cpp/monlib/encode/encoder_state.h index 64c9fea6cbb..e6a098f4044 100644 --- a/library/cpp/monlib/encode/encoder_state.h +++ b/library/cpp/monlib/encode/encoder_state.h @@ -31,7 +31,7 @@ namespace NMonitoring {              return !operator==(rhs);          } -        [[noreturn]] inline void ThrowInvalid(TStringBuf message) const {  +        [[noreturn]] inline void ThrowInvalid(TStringBuf message) const {              ythrow yexception() << "invalid encoder state: "                                  << ToStr() << ", " << message;          } diff --git a/library/cpp/openssl/ya.make b/library/cpp/openssl/ya.make index b0d489a6309..7c10963e26f 100644 --- a/library/cpp/openssl/ya.make +++ b/library/cpp/openssl/ya.make @@ -1,8 +1,8 @@  RECURSE(      big_integer      big_integer/ut -    crypto  -    crypto/ut  +    crypto +    crypto/ut      holders      holders/ut      io diff --git a/library/cpp/protobuf/util/simple_reflection.h b/library/cpp/protobuf/util/simple_reflection.h index e39b0416d64..61e877a7874 100644 --- a/library/cpp/protobuf/util/simple_reflection.h +++ b/library/cpp/protobuf/util/simple_reflection.h @@ -104,7 +104,7 @@ namespace NProtoBuf {              return *Msg.GetReflection();          } -        [[noreturn]] void RaiseUnknown() const {  +        [[noreturn]] void RaiseUnknown() const {              ythrow yexception() << "Unknown field cpp-type: " << (size_t)CppType();          } | 
