summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/rpc_client/client_impl.cpp
diff options
context:
space:
mode:
authors-berdnikov <[email protected]>2026-01-27 14:50:11 +0300
committers-berdnikov <[email protected]>2026-01-27 15:11:28 +0300
commitdedf25a083d0d18ea64dc3cc6eeca17c4d4919f3 (patch)
tree454f581a90ced21ead099ad6f5277e51a024e873 /yt/cpp/mapreduce/rpc_client/client_impl.cpp
parent6285361944fe4fc46dd8ab44b5126534aa23d0bc (diff)
Normalize `operator()` spelling in YT
As of the date of this PR, there are 4 different ways to spell parenthesis operator in YT * `operator()(args...)` - 505 occasions * `operator() (args...)` - 151 occasions * `operator () (args...)` - 65 occasions * `operator ()(args...)` - 6 occasions As is apparent from this statistics, the first way is the most popular by far (69% of all matches). Furthermore, it is the most consistent with YT style guide <https://nda.ya.ru/t/YOfm_T4z7Syke2>. commit_hash:f9f2f2a6822e88d6aba6777210a00d08c2911bc5
Diffstat (limited to 'yt/cpp/mapreduce/rpc_client/client_impl.cpp')
-rw-r--r--yt/cpp/mapreduce/rpc_client/client_impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/rpc_client/client_impl.cpp b/yt/cpp/mapreduce/rpc_client/client_impl.cpp
index 84fb5282173..16744e061d5 100644
--- a/yt/cpp/mapreduce/rpc_client/client_impl.cpp
+++ b/yt/cpp/mapreduce/rpc_client/client_impl.cpp
@@ -49,7 +49,7 @@ public:
template <>
struct THash<NYT::NDetail::TConnectionCacheKey>
{
- size_t operator() (const NYT::NDetail::TConnectionCacheKey& key) const
+ size_t operator()(const NYT::NDetail::TConnectionCacheKey& key) const
{
using NYT::HashCombine;
size_t result = 0;