From dedf25a083d0d18ea64dc3cc6eeca17c4d4919f3 Mon Sep 17 00:00:00 2001 From: s-berdnikov Date: Tue, 27 Jan 2026 14:50:11 +0300 Subject: 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 . commit_hash:f9f2f2a6822e88d6aba6777210a00d08c2911bc5 --- yt/cpp/mapreduce/rpc_client/client_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yt/cpp/mapreduce/rpc_client/client_impl.cpp') 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 { - 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; -- cgit v1.3