aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/dns
diff options
context:
space:
mode:
authoreeight <eeight@yandex-team.ru>2022-02-10 16:46:18 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:18 +0300
commit475c0a46f28166e83fd263badc7546377cddcabe (patch)
tree39c5a49b8aaad78fe390b6f1f2886bdbda40f3e7 /library/cpp/dns
parenta6e0145a095c7bb3770d6e07aee301de5c73f96e (diff)
downloadydb-475c0a46f28166e83fd263badc7546377cddcabe.tar.gz
Restoring authorship annotation for <eeight@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/dns')
-rw-r--r--library/cpp/dns/cache.cpp2
-rw-r--r--library/cpp/dns/thread.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/dns/cache.cpp b/library/cpp/dns/cache.cpp
index 05c14e82fc..d98d37cf8f 100644
--- a/library/cpp/dns/cache.cpp
+++ b/library/cpp/dns/cache.cpp
@@ -38,7 +38,7 @@ namespace {
struct THashResolveInfo {
inline size_t operator()(const TResolveInfo& ri) const {
- return ComputeHash(ri.Host) ^ ri.Port;
+ return ComputeHash(ri.Host) ^ ri.Port;
}
};
diff --git a/library/cpp/dns/thread.cpp b/library/cpp/dns/thread.cpp
index 8b27d2d527..efec63831c 100644
--- a/library/cpp/dns/thread.cpp
+++ b/library/cpp/dns/thread.cpp
@@ -3,7 +3,7 @@
#include "magic.h"
#include <util/network/socket.h>
-#include <util/thread/factory.h>
+#include <util/thread/factory.h>
#include <util/thread/lfqueue.h>
#include <util/system/event.h>
#include <util/generic/vector.h>
@@ -12,7 +12,7 @@
using namespace NDns;
namespace {
- class TThreadedResolver: public IThreadFactory::IThreadAble, public TNonCopyable {
+ class TThreadedResolver: public IThreadFactory::IThreadAble, public TNonCopyable {
struct TResolveRequest {
inline TResolveRequest(const TString& host, ui16 port)
: Host(host)
@@ -61,7 +61,7 @@ namespace {
inline TThreadedResolver()
: E_(TSystemEvent::rAuto)
{
- T_.push_back(SystemThreadFactory()->Run(this));
+ T_.push_back(SystemThreadFactory()->Run(this));
}
inline ~TThreadedResolver() override {
@@ -121,7 +121,7 @@ namespace {
private:
TLockFreeQueue<TResolveRequest*> Q_;
TSystemEvent E_;
- typedef TAutoPtr<IThreadFactory::IThread> IThreadRef;
+ typedef TAutoPtr<IThreadFactory::IThread> IThreadRef;
TVector<IThreadRef> T_;
};
}