aboutsummaryrefslogtreecommitdiffstats
path: root/util/network
diff options
context:
space:
mode:
authorRuslan Kovalev <ruslan.a.kovalev@gmail.com>2022-02-10 16:46:44 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:44 +0300
commit59e19371de37995fcb36beb16cd6ec030af960bc (patch)
treefa68e36093ebff8b805462e9e6d331fe9d348214 /util/network
parent89db6fe2fe2c32d2a832ddfeb04e8d078e301084 (diff)
downloadydb-59e19371de37995fcb36beb16cd6ec030af960bc.tar.gz
Restoring authorship annotation for Ruslan Kovalev <ruslan.a.kovalev@gmail.com>. Commit 1 of 2.
Diffstat (limited to 'util/network')
-rw-r--r--util/network/address.cpp40
-rw-r--r--util/network/hostip.h2
-rw-r--r--util/network/init.h2
-rw-r--r--util/network/iovec.h2
-rw-r--r--util/network/ip.h2
-rw-r--r--util/network/nonblock.h2
-rw-r--r--util/network/pair.h2
-rw-r--r--util/network/poller.h2
-rw-r--r--util/network/pollerimpl.h2
-rw-r--r--util/network/sock.h2
-rw-r--r--util/network/socket.h2
11 files changed, 30 insertions, 30 deletions
diff --git a/util/network/address.cpp b/util/network/address.cpp
index a81a9e6994..9040bb785e 100644
--- a/util/network/address.cpp
+++ b/util/network/address.cpp
@@ -94,26 +94,26 @@ void Out<IRemoteAddr>(IOutputStream& out, const IRemoteAddr& addr) {
PrintAddr<true>(out, addr);
}
-template <>
-void Out<NAddr::TAddrInfo>(IOutputStream& out, const NAddr::TAddrInfo& addr) {
- PrintAddr<true>(out, addr);
-}
-
-template <>
-void Out<NAddr::TIPv4Addr>(IOutputStream& out, const NAddr::TIPv4Addr& addr) {
- PrintAddr<true>(out, addr);
-}
-
-template <>
-void Out<NAddr::TIPv6Addr>(IOutputStream& out, const NAddr::TIPv6Addr& addr) {
- PrintAddr<true>(out, addr);
-}
-
-template <>
-void Out<NAddr::TOpaqueAddr>(IOutputStream& out, const NAddr::TOpaqueAddr& addr) {
- PrintAddr<true>(out, addr);
-}
-
+template <>
+void Out<NAddr::TAddrInfo>(IOutputStream& out, const NAddr::TAddrInfo& addr) {
+ PrintAddr<true>(out, addr);
+}
+
+template <>
+void Out<NAddr::TIPv4Addr>(IOutputStream& out, const NAddr::TIPv4Addr& addr) {
+ PrintAddr<true>(out, addr);
+}
+
+template <>
+void Out<NAddr::TIPv6Addr>(IOutputStream& out, const NAddr::TIPv6Addr& addr) {
+ PrintAddr<true>(out, addr);
+}
+
+template <>
+void Out<NAddr::TOpaqueAddr>(IOutputStream& out, const NAddr::TOpaqueAddr& addr) {
+ PrintAddr<true>(out, addr);
+}
+
void NAddr::PrintHost(IOutputStream& out, const IRemoteAddr& addr) {
PrintAddr<false>(out, addr);
}
diff --git a/util/network/hostip.h b/util/network/hostip.h
index cf63e4846a..b371ce25cd 100644
--- a/util/network/hostip.h
+++ b/util/network/hostip.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include <util/system/defaults.h>
diff --git a/util/network/init.h b/util/network/init.h
index 08a79c0fca..ac29458621 100644
--- a/util/network/init.h
+++ b/util/network/init.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include <util/system/error.h>
diff --git a/util/network/iovec.h b/util/network/iovec.h
index ac15a41f54..07fb5a9373 100644
--- a/util/network/iovec.h
+++ b/util/network/iovec.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include <util/stream/output.h>
#include <util/system/types.h>
diff --git a/util/network/ip.h b/util/network/ip.h
index dc7c2d24a0..95ff346560 100644
--- a/util/network/ip.h
+++ b/util/network/ip.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "socket.h"
#include "hostip.h"
diff --git a/util/network/nonblock.h b/util/network/nonblock.h
index 54e5e44ae3..d7eb3dea2c 100644
--- a/util/network/nonblock.h
+++ b/util/network/nonblock.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "socket.h"
diff --git a/util/network/pair.h b/util/network/pair.h
index 0d4506f880..747374b5db 100644
--- a/util/network/pair.h
+++ b/util/network/pair.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "init.h"
diff --git a/util/network/poller.h b/util/network/poller.h
index 8dccd73140..f305a74976 100644
--- a/util/network/poller.h
+++ b/util/network/poller.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "socket.h"
diff --git a/util/network/pollerimpl.h b/util/network/pollerimpl.h
index e8c7e40fba..6727abe330 100644
--- a/util/network/pollerimpl.h
+++ b/util/network/pollerimpl.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "socket.h"
diff --git a/util/network/sock.h b/util/network/sock.h
index b10be2f715..933a0c8a81 100644
--- a/util/network/sock.h
+++ b/util/network/sock.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include <util/folder/path.h>
#include <util/system/defaults.h>
diff --git a/util/network/socket.h b/util/network/socket.h
index 40c8648b40..126ceb6311 100644
--- a/util/network/socket.h
+++ b/util/network/socket.h
@@ -1,4 +1,4 @@
-#pragma once
+#pragma once
#include "init.h"